IMUSE+DEBUG: 'room' debug command + imuse digital = lockup
|Reported by:||fingolfin||Owned by:||aquadran|
When using the "room" command in the debugger in any iMuseDigital game (dig, ft, comi), you get a dead lock. So the "room" command is right now totally unusable in these games.
The problem is caused by stopAllSounds, which hangs in an endless loop. It waits for the callback timer to stop&remove any remaining sounds; but at this point, the callback timer is paused! So of course it hangs in an endless loop...
Might want to add a check in stopAllSounds, and if the game is paused, just directly remove all the sounds.
Ticket imported from: #1003849. Ticket imported from: bugs/1703.