mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fixes bug 149090 "viewing an image three times corrupts web pages [leaks
file descriptors on all platforms]" r=dougt, sr=rpotts, a=asa
This commit is contained in:
parent
7ef72968f0
commit
31160badcb
@ -606,8 +606,10 @@ nsFileTransport::Run(void)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (mRunState == SUSPENDED && NS_FAILED(mCancelStatus))
|
||||
if (mRunState == SUSPENDED && NS_FAILED(mCancelStatus)) {
|
||||
mRunState = CANCELED;
|
||||
mService->RemoveSuspendedTransport(this);
|
||||
}
|
||||
|
||||
while (mXferState != CLOSED && mRunState != SUSPENDED) {
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user