Fixing #601842: Chromium crashes when 'Install and Relaunch' is clicked

This commit is contained in:
Andy Matuschak committed 2010-07-05 12:18:22 -07:00
1 parent 394319e1fc
commit da35ef695b
1 file changed
+1 -1
+1 -1
View File
@@ -315,7 +315,7 @@
[NSTask launchedTaskWithLaunchPath:relaunchPath arguments:[NSArray arrayWithObjects:pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], nil]];
[self setValue:[NSNumber numberWithBool:YES] forKey:@"finished"];
[NSApp terminate:self];
[NSApp terminate:nil];
}
- (void)cleanUp