aboutsummaryrefslogtreecommitdiff
path: root/src/devmenu/NotesEditor.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/devmenu/NotesEditor.java')
-rw-r--r--src/devmenu/NotesEditor.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devmenu/NotesEditor.java b/src/devmenu/NotesEditor.java
index e94ff2e..64365da 100644
--- a/src/devmenu/NotesEditor.java
+++ b/src/devmenu/NotesEditor.java
@@ -92,10 +92,15 @@ public class NotesEditor
private void stop()
{
+ try {
mediaPlayer.stop();
diff.numBeats = (int)timer.time();
timer = null;
writer.close();
help.setText(t1);
+ }
+ catch (Exception e)
+ {
+ }
}
} \ No newline at end of file