From 869850d8392779a8fac383822a5a6c0fc5f52395 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Fri, 8 Oct 1999 20:41:49 +0000 Subject: [PATCH] Enable NS_FreeImageManager now that the call is part of the tip --- webshell/tests/viewer/unix/gtk/nsGtkMain.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp b/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp index a29ee45d6e21..512aaceb7fce 100644 --- a/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp +++ b/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp @@ -181,15 +181,20 @@ int main(int argc, char **argv) gTheApp->Run(); delete gTheApp; - //NS_FreeImageManager(); + NS_FreeImageManager(); // Shutdown XPCOM rv = NS_ShutdownXPCOM(nsnull); NS_ASSERTION(NS_SUCCEEDED(rv), "NS_ShutdownXPCOM failed"); + // XXX This is disabled because sometimes it hangs waiting for a + // netlib thread to exit, which isn't exiting :-(. Need more + // shutdown logic in necko first. +#if 0 // Shutdown NSPR PR_LogFlush(); PR_Cleanup(); +#endif } return 0;