Fix for 11812. Reordered the clean up so that deletion of the "real" object
happens after NS_RELEASE of the proxy object. This is a test program. reviewed by gagan. git-svn-id: svn://10.0.0.236/trunk@49967 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ccc05991a3
commit
3e9e75feec
@ -376,8 +376,9 @@ static void PR_CALLBACK EventLoop( void *arg )
|
||||
proxyObject->Test(1, 2, &a);
|
||||
proxyObject->Test2();
|
||||
|
||||
delete foo;
|
||||
|
||||
NS_RELEASE(proxyObject);
|
||||
delete foo;
|
||||
|
||||
printf("End of Verification calling Proxy on eventQ thread.\n");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user