From 3d451f31d899389c399ecf3459aa88b0679e057f Mon Sep 17 00:00:00 2001 From: "qsr@chromium.org" Date: Mon, 17 Dec 2012 14:48:45 +0000 Subject: [PATCH] Fix typo. Review URL: https://breakpad.appspot.com/506002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1093 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/ios/BreakpadController.mm | 4 ++-- 1 file 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_, ^{