fix javaxpcom bustage

This commit is contained in:
darin%meer.net 2006-05-10 18:17:01 +00:00
parent 12f9fa579b
commit e6e84dc252

View File

@ -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) {