1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-11 05:35:52 +01:00

(svn r20822) -Fix [FS#3707]: deadlock when aborting map generation on windows

This commit is contained in:
yexo 2010-09-17 16:07:31 +00:00
parent 6b4d2f5ae6
commit 410d48cbb8

View File

@ -90,7 +90,6 @@ static void CleanupGeneration()
DeleteWindowById(WC_GENERATE_PROGRESS_WINDOW, 0);
MarkWholeScreenDirty();
_genworld_mapgen_mutex->EndCritical();
}
/**
@ -179,6 +178,7 @@ static void _GenerateWorld(void *)
IncreaseGeneratingWorldProgress(GWP_GAME_START);
CleanupGeneration();
_genworld_mapgen_mutex->EndCritical();
ShowNewGRFError();