forked from BrowserWorks/Waterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1536850 - Properly detect when the browser is shutting down to av…
…oid taking content process minidumps too late r=Ehsan a=pascalc This code was already present but it had two flaws: the first one was that the variable used to prevent minidumps from being taken when shutting down was not being initialized which caused it to be true most of the time and thus prevented captures even in valid scenarios. The second was that we relied on the "profile-before-change" change event to detect shutdown but this often happens after we've already started closing tabs and shutting down processes thus the minidump generation would often race against it. Differential Revision: https://phabricator.services.mozilla.com/D24691
- Loading branch information
1 parent
3d10766
commit db9d19a
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters