Bug 294260 followup: add a comment explaining why we need to call trackStartupCrashEnd on quit-application-granted, r=MattN

--HG--
extra : rebase_source : 40747853f0974e48437307d819c9d180313d2006
This commit is contained in:
Gavin Sharp 2014-02-08 13:04:31 -08:00
Родитель 820d71d7ca
Коммит 08da338a28
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -638,6 +638,9 @@ BrowserGlue.prototype = {
// This pref must be set here because SessionStore will use its value
// on quit-application.
this._setPrefToSaveSession();
// Call trackStartupCrashEnd here in case the delayed call on startup hasn't
// yet occurred (see trackStartupCrashEnd caller in browser.js).
try {
let appStartup = Cc["@mozilla.org/toolkit/app-startup;1"]
.getService(Ci.nsIAppStartup);