fix crash shutting down while offline r=dougt, sr=dveditz a=chofmann 156851

This commit is contained in:
bienvenu%netscape.com 2002-07-12 01:00:08 +00:00
Родитель 68392bb895
Коммит e3b908170b
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -760,14 +760,14 @@ nsSocketTransportService::Shutdown(void)
for (i=0; i<mSelectFDSetCount; i++)
NS_IF_RELEASE(mActiveTransportList[i]);
// clear the hostname database (NOTE: this runs when the browser
// enters the offline state).
PL_DHashTableFinish(&mHostDB);
} else {
NS_NOTREACHED("Should have thread when shutting down.");
rv = NS_ERROR_FAILURE;
}
// clear the hostname database (NOTE: this runs when the browser
// enters the offline state).
PL_DHashTableFinish(&mHostDB);
LOG(("nsSocketTransportService::Shutdown END"));