surge-synthesizer / stochas

The Stochas Sequencer
https://stochas.org
GNU General Public License v3.0
406 stars 35 forks source link

Fix for Cantabile loading saved Stochas state #44

Closed rudeog closed 3 years ago

rudeog commented 3 years ago

It looks like Cantabile fires up the plugin editor, then destroys it before loading the saved project. There is a notifier callback that the plugin calls that is owned by the editor. since it was destroyed the callback object became invalid. solution is to clear the notifier when the plugin editor is destroyed so that it doesn't call it.