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:
dougt%netscape.com 1999-10-06 08:17:04 +00:00
Родитель 4cf8a945d1
Коммит 735f646940
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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");