mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-05-13 00:02:02 +08:00
#70 Ensure -isRunning works as expected even if GCDWebServerOption_AutomaticallySuspendInBackground is enabled
This commit is contained in:
@@ -623,7 +623,7 @@ static inline NSString* _EncodeBase64(NSString* string) {
|
||||
}
|
||||
|
||||
- (BOOL)isRunning {
|
||||
return (_source ? YES : NO);
|
||||
return (_options ? YES : NO);
|
||||
}
|
||||
|
||||
- (void)stop {
|
||||
|
||||
Reference in New Issue
Block a user