I think it would be useful to programmatically send a
91 4000 (MIDI CC#64 sustain pedal off) message
to all VST/MIDI instruments when exiting or entering recording mode.
How it is now, if sustain is enabled, some notes can remain held forever (try it with a piano instrument on Kontakt, for example), and the only way to stop them is by using panic button.
Anyone also thinks this can be useful?