Addref on the nsViewerApp, so we dont destroy in the webcrawler on quit.

This commit is contained in:
dcone%netscape.com 1998-10-09 17:13:21 +00:00
Родитель 62daf93937
Коммит c3c8bb57f8
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -213,6 +213,7 @@ int main(int argc, char **argv)
NS_NewImageManager(&manager);
gTheApp = new nsNativeViewerApp();
NS_ADDREF(gTheApp);
gTheApp->Initialize(argc, argv);
gTheApp->Run();