Windows: Crash with Delta AP MIDI device after hibernation

Renoise crashes on exit when releasing MIDI device after Windows has been in hibernation. The same thing happens when trying to release the MIDI Clock Master device manually in the preferences dialog.

Steps to reproduce:

  • Start Windows and Renoise
  • Do a bit of tracking …
  • Close Renoise and hibernate Windows (don’t shut down, don’t use sleep/standby mode)
  • Resume Windows and start Renoise
  • Close Renoise
    • Status bar reads “Releasing MIDI-Out device ‘Delta AP MIDI’…”
    • Renoise is unresponsive for about 1 minute
    • Renoise crashes


Renoise preferences:

  • “M-Audio Delta ASIO” as audio device
  • “Delta AP MIDI” as MIDI In device A
  • “Delta AP MIDI” as MIDI Clock Master Out device

With no MIDI Clock Master Out device set, Renoise shuts down neatly after hibernation.

Please let me know if you need more details or if there already is a solution I might have missed.

Edit: Added log.

Application: Exit...

Shut down: Stopped the Player

MIDI: Timeout while waiting for the MIDI server to stop!
MIDI: Shut down: Closing all acquired MIDI devices...
MIDI: Closing MME Midi-In device 'Delta AP MIDI'
MIDI: Closing MME Midi-Out device 'Delta AP MIDI'