(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

pull/155/head
rubidium 13 years ago
parent 347ec4d713
commit f23d4a7565

@ -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();
}
/**

Loading…
Cancel
Save