mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Remove destroyed AudioPlayer from list of AudioPlayers
This commit is contained in:
parent
2504db13d7
commit
92a1e4a2d9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user