bug 26917 (using "-d" option on viewer causes premature exit)

r=travis
This commit is contained in:
buster%netscape.com 2000-04-18 22:59:12 +00:00
parent a4ce9e598d
commit 62fe598e73

View File

@ -404,7 +404,7 @@ nsWebCrawler::OnEndDocumentLoad(nsIDocumentLoader* loader,
fputs("null pres shell\n", stdout);
}
if (mPostExit && (0 == mQueuedLoadURLs)) {
if (mPostExit && (0 == mQueuedLoadURLs) && (0==mPendingURLs.Count())) {
QueueExit();
}