Changes for lazy java initialization.

git-svn-id: svn://10.0.0.236/trunk@8909 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
1998-09-01 00:16:08 +00:00
parent 1a58709bfd
commit 6f46cc2695
4 changed files with 16 additions and 24 deletions

View File

@@ -653,13 +653,8 @@ BOOL fe_ShutdownJava()
BOOL bRetval = TRUE;
#if defined(OJI)
nsJVMMgr* jvmMgr = JVM_GetJVMMgr();
if (jvmMgr == NULL)
return FALSE;
bRetval = (jvmMgr->ShutdownJVM() == nsJVMStatus_Enabled);
// XXX suspend all java threads
jvmMgr->Release();
(void)JVM_ShutdownJVM();
// XXX set pCmdUI->Enable(FALSE);
#elif defined(JAVA)