Make AudioHandler stop and clean up on onReset()

This commit is contained in:
Braden Shepherdson 2012-09-21 15:33:56 -04:00
parent 313148136a
commit 8b6c9574df

View File

@ -139,6 +139,14 @@ public class AudioHandler extends Plugin {
this.players.clear();
}
/**
* Stop all audio players and recorders on navigate.
*/
@Override
public void onReset() {
onDestroy();
}
/**
* Called when a message is sent to plugin.
*