Bug 1010153 - CacheFileIOManager::ScheduleMetadataWrite called for memory only CacheFiles, r=michal

This commit is contained in:
Honza Bambas 2014-05-14 23:12:39 +02:00
parent 4f3dee8ee7
commit b4a20396e7

View File

@ -1623,6 +1623,9 @@ CacheFile::WriteMetadataIfNeededLocked(bool aFireAndForget)
void
CacheFile::PostWriteTimer()
{
if (mMemoryOnly)
return;
LOG(("CacheFile::PostWriteTimer() [this=%p]", this));
CacheFileIOManager::ScheduleMetadataWrite(this);