mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
bug 26917 (using "-d" option on viewer causes premature exit)
r=travis
This commit is contained in:
parent
a4ce9e598d
commit
62fe598e73
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user