diff options
| -rw-r--r-- | sound/midiparser.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/midiparser.cpp b/sound/midiparser.cpp index 2528399994..7d09f4ec0d 100644 --- a/sound/midiparser.cpp +++ b/sound/midiparser.cpp @@ -407,11 +407,6 @@ bool MidiParser::jumpToTick(uint32 tick, bool fireEvents) { } void MidiParser::unloadMusic() { - if (_driver) { - // Detach the player callback handler, to prevent it from - // being called while the music is being unloaded - _driver->setTimerCallback(NULL, NULL); - } resetTracking(); allNotesOff(); _num_tracks = 0; |
