-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
retain loops #95
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
AudioKitSynthOne/Manager/Manager+callbacks.swift
, retain loops are created by the callbacks. Search forcallback = {
in your codebase and you'll find more.The callbacks need to be of the form
This isn't a big deal for a stand-alone app (though, it's considered bad form), but if you ever want to make an AudioUnit Extension, the leaks will become an issue.
Timers are also a source of retain loops, as well as simply creating cycles between view controllers, etc.
You can use Xcode's Memory Graph Debugger to find them, though it's still not very easy.
The text was updated successfully, but these errors were encountered: