mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
173357 r=cavin sr=bienvenu fix a major bug in compacting local folders. We were compacting folder even after we failed to get a lock.
This commit is contained in:
parent
c58d3b56d0
commit
2bbee4845c
@ -329,7 +329,7 @@ nsresult nsFolderCompactState::StartCompacting()
|
||||
m_folder->NotifyCompactCompleted();
|
||||
m_folder->ThrowAlertMsg("compactFolderDeniedLock", m_window);
|
||||
if (m_compactAll)
|
||||
CompactNextFolder();
|
||||
return CompactNextFolder();
|
||||
else
|
||||
{
|
||||
CleanupTempFilesAfterError();
|
||||
|
Loading…
x
Reference in New Issue
Block a user