зеркало из https://github.com/mozilla/gecko-dev.git
fix for crash when getting bad command line args 45074 r=smfr
This commit is contained in:
Родитель
9dc6da6cfc
Коммит
d26effe389
|
@ -1139,7 +1139,7 @@ int main(int argc, char* argv[])
|
|||
nsresult mainResult = main1(argc, argv, nativeApp ? (nsISupports*)nativeApp : (nsISupports*)splash);
|
||||
|
||||
/* if main1() didn't succeed, then don't bother trying to shut down clipboard, etc */
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
if (NS_SUCCEEDED(mainResult)) {
|
||||
rv = DoOnShutdown();
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "DoOnShutdown failed");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче