-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening two instances of the VST UI causes Carla to crash #1
Comments
Just checked it, it's because GL2/3 backend files don't support multiple contexts.
I found a related PR which stores context-specific data. |
I've just made this patch, it should enable OpenGL2 to work |
I can still reproduce the issue with the patch. However, Valgrind now reports an uninitialised value when I open the UI:
|
Oops you're right, thanks for catching this one
|
Thanks, it works! 🎉 |
Oops, now I get an error when I click on the arrow in the header (at the left of the "Simple gain" label):
I can reproduce the issue when running a single instance of the plugin. EDIT: my bad, this crash is unrelated to the issue at hand. I didn't notice it earlier because I was running a release build with assertions disabled |
Fixed also in the latest commit, thanks |
To reproduce:
As soon as we open the second UI, Carla crashes:
Perhaps this is due to ImGui's reliance on static variables?
The text was updated successfully, but these errors were encountered: