mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 06:22:33 +00:00
Bug 771832 - File not found error for HTTP URL, can be fixed by a forced reload, r=hurley
This commit is contained in:
parent
3a10e56c21
commit
47d75c532e
4
netwerk/cache/nsDiskCacheStreams.cpp
vendored
4
netwerk/cache/nsDiskCacheStreams.cpp
vendored
@ -451,6 +451,10 @@ nsDiskCacheStreamIO::Flush()
|
||||
NS_WARNING("cacheMap->DeleteStorage() failed.");
|
||||
return rv;
|
||||
}
|
||||
if (mFD) {
|
||||
PR_Close(mFD);
|
||||
mFD = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
// flush buffer to block files
|
||||
|
Loading…
x
Reference in New Issue
Block a user