fixed a bug closing the synthesizer

This commit is contained in:
hneemann 2019-02-11 14:39:08 +01:00
parent 3016cd7287
commit 2dfc84ffe1

View File

@ -70,9 +70,9 @@ public final class MIDIHelper {
}
private void close() {
if (!isOpen) {
if (isOpen) {
synthesizer.close();
synthesizer = null;
isOpen = false;
}
}