Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Issue 269048: SIGTERM should cause the application to exit on the Mac (Closed)

Created:
11 years, 2 months ago by Mark Mentovai
Modified:
9 years, 7 months ago
Reviewers:
Chris Masone
CC:
chromium-reviews_googlegroups.com, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

SIGTERM should cause the application to exit on the Mac. BUG=23551 TEST=Send SIGTERM to the browser process. It should exit cleanly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28695

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -8 lines) Patch
M chrome/browser/automation/automation_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_list.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/browser_list.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/browser_main.cc View 1 chunk +29 lines, -6 lines 0 comments Download
M chrome/browser/chrome_application_mac.h View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/chrome_application_mac.mm View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Mark Mentovai
Chris, here's a follow-up to your SIGTERM patch. This isn't crucial for the Mac because ...
11 years, 2 months ago (2009-10-12 02:53:50 UTC) #1
Chris Masone
11 years, 2 months ago (2009-10-12 04:26:57 UTC) #2
On 2009/10/12 02:53:50, Mark Mentovai wrote:
> Chris, here's a follow-up to your SIGTERM patch.  This isn't crucial for the
Mac
> because the OS' first attempt to kill an application doesn't use signals, but
> when we do get a SIGTERM, we should do something better than closing all
browser
> windows and then leaving the app up and usable.
> 
> I've also fixed the SIGTERM handler so that it'll actually kill the app on the
> first attempt if there's no main loop.

LGTM

Powered by Google App Engine
This is Rietveld 408576698