Skip to content

Commit

Permalink
Remove destroyed AudioPlayer from list of AudioPlayers
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Dec 22, 2010
1 parent 2504db1 commit 92a1e4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/src/com/phonegap/AudioHandler.java
Expand Up @@ -132,6 +132,7 @@ private boolean release(String id) {
return false;
}
AudioPlayer audio = this.players.get(id);
this.players.remove(id);
audio.destroy();
return true;
}
Expand Down

0 comments on commit 92a1e4a

Please sign in to comment.