Fix potential race between stopping the rotate_starbase task and
destroying the frame (bug 230) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@864 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Changes towards version 0.3:
|
||||
- Fix race on exiting starbase (bug 230) -PracturedBlue
|
||||
- Cleanup shipyard door animation (bug 215) -PhracturedBlue
|
||||
- Misc .ani fixes; Fixes asteroid destruction crash (bugs 150, 155, 158)
|
||||
and somewhat fixes Mycon potrait (bug #183) -fOSSiL
|
||||
|
||||
@@ -339,15 +339,13 @@ s.origin.x = SAFE_X, s.origin.y = SAFE_Y + 4;
|
||||
|| GET_GAME_STATE (CHMMR_BOMB_STATE) == 2)
|
||||
{
|
||||
ExitStarBase:
|
||||
SetSemaphore (GraphicsSem);
|
||||
if (pMS->flash_task)
|
||||
{
|
||||
Task_SetState (pMS->flash_task, TASK_EXIT);
|
||||
ConcludeTask (pMS->flash_task);
|
||||
pMS->flash_task = 0;
|
||||
}
|
||||
DestroyDrawable (ReleaseDrawable (pMS->CurFrame));
|
||||
pMS->CurFrame = 0;
|
||||
ClearSemaphore (GraphicsSem);
|
||||
StopMusic ();
|
||||
if (pMS->hMusic)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user