dan-german / blocks

user-friendly cross-platform modular synth
GNU General Public License v3.0
130 stars 14 forks source link

fix: change MidiKeyboardState ownership to processor #7

Closed AlexXandreE closed 10 months ago

AlexXandreE commented 10 months ago

This will fix the race condition when opening/closing the plugin editor as the pointer was not atomic. Keyboard state should always exist and be processed so it can catch all messages, this way when the editor appears all notes already ON will be ok.