foxygit / doom Log in
commit 2d01baab77a509c5167d14ea7ed11d551ca0c664
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Wed Aug 28 11:40:08 2019 +0200
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Wed Aug 28 11:40:08 2019 +0200

    midiproc: call UnregisterSong() where appropriate
---
 src/i_sdlmusic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/i_sdlmusic.c b/src/i_sdlmusic.c
index 40ac69dc..da86e598 100644
--- a/src/i_sdlmusic.c
+++ b/src/i_sdlmusic.c
@@ -348,7 +348,7 @@ static void I_SDL_UnRegisterSong(void *handle)
 #if defined(_WIN32)
     if (midi_server_registered)
     {
-        I_MidiPipe_StopSong();
+        I_MidiPipe_UnregisterSong();
     }
     else
 #endif