I have a reliable crash in the standalone version of all my juce 6 plugins (I’m on 6.0.7) which have audio input. Here’s how to reproduce
- Start the standalone
- options / reset to default state
- options / audio midi settings
- mute audio input
When I look at a stack it looks like there’s something referring to the deleted plugin. I debugged it a bit and it seems like the shouldMuteButton in SettingsComponent in juce_StandaloneFilterWindow.h does this in the constructor
but the reset of plugin (which deletes and recreates the plugin context which here is owner) doesn’t reset the settings component state so when you press the toggle on shouldMuteButton you refer to the old owner, and kablooey.
I couldn’t figure out from the code, though, how to reset the state of the SettingsComponent so don’t have a fixing patch, just a bug report.
Still a bit new to workflow in JUCE world. Is this stuff OK to put on this forum or should I file a GitHub issue?