diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2023-06-02 12:53:28 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2023-06-02 12:53:28 -0400 |
commit | 59087e16afe678d2957b4bfe6a145327586d6016 (patch) | |
tree | be6d337da908e8b0897516eb372ac2788ae3cb25 /src/devmenu | |
parent | 408c42dc788a7d9c218071dea34843b4196fa7c8 (diff) | |
download | NPEhero-59087e16afe678d2957b4bfe6a145327586d6016.tar.gz NPEhero-59087e16afe678d2957b4bfe6a145327586d6016.tar.bz2 NPEhero-59087e16afe678d2957b4bfe6a145327586d6016.zip |
fix close button
Diffstat (limited to 'src/devmenu')
-rw-r--r-- | src/devmenu/NotesEditor.java | 5 |
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 |