зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
cfe1197148
Коммит
4c1d2466de
|
@ -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) {
|
||||
//
|
||||
|
|
Загрузка…
Ссылка в новой задаче