robbert-vdh / nih-plug

Rust VST3 and CLAP plugin framework and plugins - because everything is better when you do it yourself
ISC License
1.45k stars 129 forks source link

Opening Crisp, Spectral Compressor or Diopser more than 1 time crashes FL studio. #107

Closed 7LightSeconds closed 3 weeks ago

7LightSeconds commented 4 months ago

Crash logs:

Crash 2024-01-20_041218.log Crash 2024-01-20_041313.log Crash 2024-01-20_041719.log

Possible memory leak. Works fine in Reaper, Ableton Live and Bitwig.

robbert-vdh commented 3 weeks ago

This should now (finally, sorry for taking so long with this) be fixed as of 9e2b9cc06eace2f05d430661873202a2154d0f05.

The underlying issue is an architectural choice in the GUI framework used by these plugins, and there's sadly no satisfactory solution for this. But the plugins should now at least no longer crash when using multiple instances on Windows and macOS!

7LightSeconds commented 3 weeks ago

Thank you! I will be probably using it more frequently now! Few of the best plugins I actually use currently. Looking forward to more plugins from you if you ever make some!