VST3 and MIDI CC pitfall

As a host you should know which noteOn events you have send to the plug-in without a noteOff event thus you send the corresponding noteOff events to the plug-in.