Clean up (we were leaking the DocLoader -- dooh!)
This commit is contained in:
Родитель
ad74ba4547
Коммит
247b236a6d
|
@ -209,7 +209,7 @@ void nsDocLoader::CallTest()
|
|||
{
|
||||
CancelAll();
|
||||
|
||||
printf("Finished Running Tests");
|
||||
printf("Finished Running Tests \n");
|
||||
if (mPostExit)
|
||||
{
|
||||
printf("QUITTING APPLICATION \n");
|
||||
|
|
|
@ -611,6 +611,8 @@ WinMain(HANDLE instance, HANDLE prevInstance, LPSTR cmdParam, int nCmdShow)
|
|||
NET_PollSockets();
|
||||
}
|
||||
}
|
||||
if (dl != nsnull)
|
||||
delete dl;
|
||||
ReleaseMemory();
|
||||
if (!prevInstance) {
|
||||
UnregisterClass(class1Name, gInstance);
|
||||
|
|
Загрузка…
Ссылка в новой задаче