C10.5 - export as MIDI file freezes

Long project with live drums and tons of tempo changes. Exporting empty MIDI track does nothing, application immediately locks, freezes forever and must be terminated via process explorer

since there is nothing to export if the MIDI track is empty