Remove destroyed AudioPlayer from list of AudioPlayers

This commit is contained in:
macdonst 2010-12-23 02:48:36 +08:00
parent 2504db13d7
commit 92a1e4a2d9

View File

@ -132,6 +132,7 @@ public class AudioHandler extends Plugin {
return false;
}
AudioPlayer audio = this.players.get(id);
this.players.remove(id);
audio.destroy();
return true;
}