Bug 771832 - File not found error for HTTP URL, can be fixed by a forced reload, r=hurley

This commit is contained in:
Michal Novotny 2012-10-17 13:59:51 +02:00
parent 3a10e56c21
commit 47d75c532e

View File

@ -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