diff options
-rw-r--r-- | src/client/ios/BreakpadController.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/ios/BreakpadController.mm b/src/client/ios/BreakpadController.mm index ffba9e69..4e69fae2 100644 --- a/src/client/ios/BreakpadController.mm +++ b/src/client/ios/BreakpadController.mm @@ -129,7 +129,7 @@ NSString* GetPlatform() { #pragma mark - - (void)start:(BOOL)onCurrentThread { - if (started) + if (started_) return; started_ = YES; void(^startBlock)() = ^{ @@ -146,7 +146,7 @@ NSString* GetPlatform() { } - (void)stop { - if (!started) + if (!started_) return; started_ = NO; dispatch_sync(queue_, ^{ |