Permalink
Browse files

Remove destroyed AudioPlayer from list of AudioPlayers

  • Loading branch information...
1 parent 2504db1 commit 92a1e4a2d9a531ecee242bfff851e799f99ece5d @macdonst committed Dec 22, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 framework/src/com/phonegap/AudioHandler.java
@@ -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;
}

0 comments on commit 92a1e4a

Please sign in to comment.