(svn r22371) -Fix [FS#4596]: make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock

This commit is contained in:
rubidium 2011-04-22 16:09:46 +00:00
parent ce91f6b45e
commit 75b87c554f

View File

@ -2420,6 +2420,9 @@ void WaitTillSaved()
_save_thread->Join();
delete _save_thread;
_save_thread = NULL;
/* Make sure every other state is handled properly as well. */
ProcessAsyncSaveFinish();
}
/**