зеркало из https://github.com/mozilla/gecko-dev.git
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.
This commit is contained in:
Родитель
4cf8a945d1
Коммит
735f646940
|
@ -376,8 +376,9 @@ static void PR_CALLBACK EventLoop( void *arg )
|
||||||
proxyObject->Test(1, 2, &a);
|
proxyObject->Test(1, 2, &a);
|
||||||
proxyObject->Test2();
|
proxyObject->Test2();
|
||||||
|
|
||||||
delete foo;
|
|
||||||
NS_RELEASE(proxyObject);
|
NS_RELEASE(proxyObject);
|
||||||
|
delete foo;
|
||||||
|
|
||||||
printf("End of Verification calling Proxy on eventQ thread.\n");
|
printf("End of Verification calling Proxy on eventQ thread.\n");
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче