Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request #53 from SidneyS/master
Browse files Browse the repository at this point in the history
Enabled automatic Server Backgrounding. - thanks!
  • Loading branch information
EddyVerbruggen committed Dec 24, 2014
2 parents 37e1d5c + 6348a52 commit f9a8985
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ios/AppDelegate+WKWebViewPolyfill.m
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ - (void)startServer
{
NSError *error = nil;

[_webServerOptions setObject:[NSNumber numberWithBool:NO] forKey:GCDWebServerOption_AutomaticallySuspendInBackground];
// Enable this option to force the Server also to run when suspended
//[_webServerOptions setObject:[NSNumber numberWithBool:NO] forKey:GCDWebServerOption_AutomaticallySuspendInBackground];

// Initialize Server listening port, initially trying 12344 for backwards compatibility
int httpPort = 12344;
Expand Down

0 comments on commit f9a8985

Please sign in to comment.