rem: SetSemaphore (&GraphicsSem); DeleteTask (pMS->flash_task); ClearSemaphore (&GraphicsSem);
add: SetSemaphore (GraphicsSem); KillThread (pMS->flash_task); ClearSemaphore (GraphicsSem);
context: FreeMeleeInfo (PMELEE_STATE pMS){	if (pMS->flash_task)	{		SetSemaphore (&GraphicsSem);		DeleteTask (pMS->flash_task);		ClearSemaphore (&GraphicsSem);		pMS->flash_task = 0;	}	DestroyDirEntryTable (ReleaseDirEntryTable (pMS->TeamDE));	pMS->TeamDE = 0;	UninitSpace ();	DestroyDrawable (ReleaseDrawable (MeleeFrame));	MeleeFrame = 0;	DestroyDrawable (ReleaseDrawable (PickMeleeFrame));	PickMeleeFrame = 0;}