Changeset - r16116:20c5610b4c2e
[Not reviewed]
master
0 1 0
yexo - 14 years ago 2010-09-17 16:07:31
yexo@openttd.org
(svn r20822) -Fix [FS#3707]: deadlock when aborting map generation on windows
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/genworld.cpp
Show inline comments
 
@@ -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();
 

	
0 comments (0 inline, 0 general)