Skip to content
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

Handle bound components in menus #5402

Merged
merged 1 commit into from
Nov 14, 2021

Conversation

baconpaul
Copy link
Collaborator

I was super careful to make sure my menus lived less long than
the thises they bound, but in a close editor case I am out of
luck. Tnanks to the TAP folks, especially daniel, I learned
to use juce::Component::SafePointer<> which does what I need.
See discussion in #5401 and the forum post linked there for more

Closes #5401

I was super careful to make sure my menus lived less long than
the thises they bound, but in a close editor case I am out of
luck. Tnanks to the TAP folks, especially daniel, I learned
to use juce::Component::SafePointer<> which does what I need.
See discussion in surge-synthesizer#5401 and the forum post linked there for more

Closes surge-synthesizer#5401
@baconpaul baconpaul merged commit 57d267a into surge-synthesizer:main Nov 14, 2021
@baconpaul baconpaul deleted the closemen-5401 branch November 14, 2021 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Closing with a Menu open causes memory scribble
1 participant