mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 05:00:13 -10:00
Bug 340022 - Virtual machine deadlock can happen on finalization of Java XPCOM proxies. patch by ttudor, r=jhpedemonte
This commit is contained in:
1 parent
247e359e73
commit
75d60c1dab
1 file changed
+2
@@ -1757,6 +1757,8 @@ JAVAPROXY_NATIVE(finalizeProxy) (JNIEnv *env, jclass that, jobject aJavaProxy)
|
||||
nsMemory::Free(iid);
|
||||
}
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "Failed to RemoveJavaProxy");
|
||||
// Release gJavaXPCOMLock before deleting inst (see bug 340022)
|
||||
lock.unlock();
|
||||
delete inst;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user