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

Leak detector gives false positive in DAW #1095

Closed
baconpaul opened this issue Aug 13, 2024 · 4 comments
Closed

Leak detector gives false positive in DAW #1095

baconpaul opened this issue Aug 13, 2024 · 4 comments

Comments

@baconpaul
Copy link
Contributor

basically we do a leak check at the end of engine, but two instances one deleted one alive will show a leak check

so turn this off except in standalone!

@baconpaul
Copy link
Contributor Author

or make it 'last one out the door' style

@baconpaul
Copy link
Contributor Author

and this is the scxt leak detector not the juce one

@baconpaul
Copy link
Contributor Author

solution here is add leakLogSubscribe and leakLogUnsubscribe as well as showLeakLog and the engine calls that on construct and deconstruct. add a static to make sure that on destroy time exit we are at 0. etc...

@baconpaul
Copy link
Contributor Author

Really at this phase the answer is to delete the built in leak detector

everything is move only and we have asan.

baconpaul added a commit to baconpaul/shortcircuit-xt that referenced this issue Aug 25, 2024
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

No branches or pull requests

1 participant