diff --git a/libs/backends/portaudio/winmmemidi_output_device.cc b/libs/backends/portaudio/winmmemidi_output_device.cc index 89011d34d3..5730e4b1be 100644 --- a/libs/backends/portaudio/winmmemidi_output_device.cc +++ b/libs/backends/portaudio/winmmemidi_output_device.cc @@ -118,13 +118,7 @@ WinMMEMidiOutputDevice::close (std::string& error_msg) { // return error message for first error encountered? bool success = true; - MMRESULT result = midiOutReset (m_handle); - if (result != MMSYSERR_NOERROR) { - error_msg = get_error_string (result); - DEBUG_MIDI (error_msg); - success = false; - } - result = midiOutClose (m_handle); + MMRESULT result = midiOutClose (m_handle); if (result != MMSYSERR_NOERROR) { error_msg = get_error_string (result); DEBUG_MIDI (error_msg);