@uliwitness The autorelease pool is legacy anyways, pure Swift doesn’t even support it any more.
-
-
-
@anlumo1 Yeah, I'll go and rewrite a few thousand files' worth of code and hand-craft some Swift/C++ bridging code. -
@uliwitness The lack of C++ interface is also quite a problem for me… -
@anlumo1 If your needs are simple or you're interesting in adding to it, this might help:https://github.com/uliwitness/cpptoswift … - View other replies
-
@anlumo1 interestED, even. I know you're interesting…
-
-
-
@uliwitness Not removed, but disabled by default. Set OBJC_DEBUG_MISSING_POOLS=YES to get it back. (Set OBJC_HELP=YES for more options.) -
@nebelch I think I know why this is no longer on by default. Ever set a breakpoint on objc_autoreleaseNoPool and launched a Mac application? - View other replies
- Show more
-
-
-
@uliwitness We didn't remove the message. We added an automatic pool in more places. - View other replies
-
@gparker Well, sorta both. It used to be on by default, now I have to turn on an environment variable to get the message. -
@uliwitness Note that the environment variable also changes behavior: it introduces leaks anywhere that the implicit pool would have worked.
-
-
-
@uliwitness … because this pool cleans up when the thread terminates (changed in 10.7 IIRC) -
@justkwin Yeah, except if the pool contains a loop or so.
-
-
-
@uliwitness how did you finally figure out that that was the case? -
@rudyrichter Instruments, pair programming and wild guesses. -
@uliwitness aww, no beer & warm pretzels?
-
-
@uliwitness Thats pretty surprising. I wonder how the decision was made? Or could this be affected by how you built? -
@uliwitness they removed one that impacted me, i didn't spend 3 days on it though :)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Ghoulie Ghost Terror
Andreas Monitzer
Chris Nebel
Greg Parker
Quinn “The Eskimo!”
Rudy Richter
Steve Weller