Index: chrome/app/breakpad_mac.mm |
=================================================================== |
--- chrome/app/breakpad_mac.mm (revision 103301) |
+++ chrome/app/breakpad_mac.mm (working copy) |
@@ -56,6 +56,13 @@ |
return gBreakpadRef != NULL; |
} |
+void DestructCrashReporter() { |
+ if (gBreakpadRef) { |
+ BreakpadRelease(gBreakpadRef); |
+ gBreakpadRef = NULL; |
+ } |
+} |
+ |
// Only called for a branded build of Chrome.app. |
void InitCrashReporter() { |
DCHECK(!gBreakpadRef); |