Skip to content

Commit a8bf25f

Browse files
committed
Mac: disable breakpad reporter
1 parent 314cdec commit a8bf25f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/breakpad_mac.mm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,12 @@ void InitCrashReporter() {
186186
NSString* resource_path = [[NSString alloc] initWithUTF8String:GetFrameworksPath().value().c_str()];
187187
NSString *inspector_location =
188188
[resource_path stringByAppendingPathComponent:@"crash_inspector"];
189+
#if 0
189190
NSString *reporter_bundle_location =
190191
[resource_path stringByAppendingPathComponent:@"crash_report_sender.app"];
191192
NSString *reporter_location =
192193
[[NSBundle bundleWithPath:reporter_bundle_location] executablePath];
193-
194+
#endif
194195

195196
VLOG(1) << "resource_path: " << [resource_path UTF8String];
196197
VLOG(1) << "inspector_location: " << [inspector_location UTF8String];
@@ -205,8 +206,10 @@ void InitCrashReporter() {
205206
[[info_dictionary mutableCopy] autorelease];
206207
[breakpad_config setObject:inspector_location
207208
forKey:@BREAKPAD_INSPECTOR_LOCATION];
209+
#if 0
208210
[breakpad_config setObject:reporter_location
209211
forKey:@BREAKPAD_REPORTER_EXE_LOCATION];
212+
#endif
210213

211214
// In the main application (the browser process), crashes can be passed to
212215
// the system's Crash Reporter. This allows the system to notify the user

0 commit comments

Comments
 (0)