mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 11:59:26 +00:00
(svn r20822) -Fix [FS#3707]: deadlock when aborting map generation on windows
This commit is contained in:
parent
6b4d2f5ae6
commit
410d48cbb8
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user