jspahrsummers / libextobjc

A Cocoa library to extend the Objective-C programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For weakify/strongify, use @autoreleasepool in Debug, @try in Release?

kastiglione opened this issue · comments

Should the weakify/strongify macros be defined using @autoreleasepool for DEBUG builds, and @try otherwise? This would address the concerns about the empty autorelease pool not being optimized away.

See #51

/cc @Coneko

Sounds like a good idea.