View Single Post
Old 12-02-2017, 03:41 PM   #26
Human being with feelings
Join Date: Dec 2015
Posts: 327

Yes, it looks like Xcode 4.2 and later, which is a pretty safe bet these days, especially because there are so many reasons to support C++11 at minimum.

And yes, it looks like ARC will simply put destructors (effectively) where they should otherwise be coded manually anyway, and not result in unexpected garbage collection, much less ever end up impacting the audio thread.

For now, I just put an autorelease in initWithIGraphics ( There are a couple of other initWithFrame calls (popup menu, text entry) that may need them, but I didn't see other leaks in my own plugin that uses such things so I didn't debug further.
earlevel is offline   Reply With Quote