зеркало из https://github.com/mozilla/gecko-dev.git
Throw exception before freeing globals.
Original committer: pedemont%us.ibm.com Original revision: 1.14 Original date: 2004/12/21 23:35:02
This commit is contained in:
Родитель
98e3a18a3d
Коммит
fd007ad452
|
@ -82,8 +82,8 @@ GECKO_NATIVE(initEmbedding) (JNIEnv* env, jclass, jobject aMozBinDirectory,
|
|||
}
|
||||
}
|
||||
|
||||
FreeJavaGlobals(env);
|
||||
ThrowXPCOMException(env, NS_FAILED(rv) ? rv : NS_ERROR_FAILURE);
|
||||
FreeJavaGlobals(env);
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT void JNICALL
|
||||
|
@ -142,8 +142,8 @@ XPCOM_NATIVE(initXPCOM) (JNIEnv* env, jclass, jobject aMozBinDirectory,
|
|||
}
|
||||
}
|
||||
|
||||
FreeJavaGlobals(env);
|
||||
ThrowXPCOMException(env, NS_FAILED(rv) ? rv : NS_ERROR_FAILURE);
|
||||
FreeJavaGlobals(env);
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче