Index: src/client/ios/Breakpad.mm |
diff --git a/src/client/ios/Breakpad.mm b/src/client/ios/Breakpad.mm |
index 0a1fc2ad7954e0fe4cf86ff0f6a61e1374551e43..ce635bd27197d1f414f6e4cefc161d0a01d1ad0d 100644 |
--- a/src/client/ios/Breakpad.mm |
+++ b/src/client/ios/Breakpad.mm |
@@ -263,8 +263,8 @@ void Breakpad::UncaughtExceptionHandler(NSException *exception) { |
NSSetUncaughtExceptionHandler(NULL); |
if (current_breakpad_) { |
current_breakpad_->HandleUncaughtException(exception); |
+ BreakpadRelease(current_breakpad_); |
} |
- BreakpadRelease(current_breakpad_); |
} |
//============================================================================= |