Fixed a deadlock that blocked the system if you quit from the shipyard
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1030 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1277,8 +1277,8 @@ DoShipyard (PMENU_STATE pMS)
|
||||
else if (cancel || (select && pMS->CurState == SHIPYARD_EXIT))
|
||||
{
|
||||
ExitShipyard:
|
||||
SetSemaphore (GraphicsSem);
|
||||
EndHangarAnim (pMS);
|
||||
SetSemaphore (GraphicsSem);
|
||||
DestroyDrawable (ReleaseDrawable (pMS->ModuleFrame));
|
||||
pMS->ModuleFrame = 0;
|
||||
pMS->CurFrame = 0;
|
||||
|
||||
Reference in New Issue
Block a user