shithub: choc

Download patch

ref: 2d01baab77a509c5167d14ea7ed11d551ca0c664
parent: b9d4c04c840321f5ec70787d8afb1256766aaa01
author: Fabian Greffrath <[email protected]>
date: Wed Aug 28 07:40:08 EDT 2019

midiproc: call UnregisterSong() where appropriate

--- a/src/i_sdlmusic.c
+++ b/src/i_sdlmusic.c
@@ -348,7 +348,7 @@
 #if defined(_WIN32)
     if (midi_server_registered)
     {
-        I_MidiPipe_StopSong();
+        I_MidiPipe_UnregisterSong();
     }
     else
 #endif