mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
fix javaxpcom bustage
This commit is contained in:
parent
12f9fa579b
commit
e6e84dc252
@ -741,6 +741,8 @@ JavaXPCOMInstance::JavaXPCOMInstance(nsISupports* aInstance,
|
||||
|
||||
JavaXPCOMInstance::~JavaXPCOMInstance()
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
// Need to release these objects on the main thread.
|
||||
nsCOMPtr<nsIThread> thread = do_GetMainThread();
|
||||
if (thread) {
|
||||
|
Loading…
Reference in New Issue
Block a user