Only release current_breakpad_ if it is defined.
R=mark@chromium.org Review URL: https://codereview.chromium.org/1402453006 .
This commit is contained in:
@@ -263,9 +263,9 @@ void Breakpad::UncaughtExceptionHandler(NSException *exception) {
|
|||||||
NSSetUncaughtExceptionHandler(NULL);
|
NSSetUncaughtExceptionHandler(NULL);
|
||||||
if (current_breakpad_) {
|
if (current_breakpad_) {
|
||||||
current_breakpad_->HandleUncaughtException(exception);
|
current_breakpad_->HandleUncaughtException(exception);
|
||||||
}
|
|
||||||
BreakpadRelease(current_breakpad_);
|
BreakpadRelease(current_breakpad_);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
#pragma mark -
|
#pragma mark -
|
||||||
|
Reference in New Issue
Block a user