зеркало из https://github.com/mozilla/gecko-dev.git
Fixing viewer starup assert on SetMainThread() happening twice.
This commit is contained in:
Родитель
914c067b76
Коммит
126d4cbb56
|
@ -157,9 +157,6 @@ int main(int argc, char **argv)
|
|||
// code linked into the viewer.
|
||||
putenv("MOZ_TOOLKIT=gtk");
|
||||
|
||||
rv = nsIThread::SetMainThread();
|
||||
NS_ABORT_IF_FALSE(NS_SUCCEEDED(rv), "couldn't set main thread");
|
||||
|
||||
gTheApp = new nsNativeViewerApp();
|
||||
gTheApp->Initialize(argc, argv);
|
||||
gTheApp->Run();
|
||||
|
|
Загрузка…
Ссылка в новой задаче