mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 395707: Crash during extension manager initiated restart. r=bsmedberg. a=blocking-1.9 M9
This commit is contained in:
parent
d8ce604db7
commit
f3e36a0f23
@ -3179,6 +3179,12 @@ XRE_main(int argc, char* argv[], const nsXREAppData* aAppData)
|
||||
#ifdef XP_MACOSX
|
||||
SetupMacCommandLine(gRestartArgc, gRestartArgv);
|
||||
#endif
|
||||
|
||||
// Ensure hidden window is destroyed before xpcom shuts down
|
||||
nsCOMPtr<nsIAppShellService> appShellService
|
||||
(do_GetService(NS_APPSHELLSERVICE_CONTRACTID));
|
||||
if (appShellService)
|
||||
appShellService->DestroyHiddenWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user