[Openmcl-devel] Determining OSX version at runtime

Raffael Cavallaro raffaelcavallaro at mac.com
Fri Aug 27 16:25:26 UTC 2010


On Aug 27, 2010, at 11:42 AM, Raffael Cavallaro wrote:

> This is masked to a certain extent by the fact that ccl has a listener autorelease pool. So if you do (in the ccl listener):
> 
> (#/allFrameworks ns:ns-bundle)
> 
> you won't get a console warning.

If you want to see this in action do:

(#/release ccl::*listener-autorelease-pool*)

which will leave you with no pool in place for listener interactions. Then if you do:

(#/allFrameworks ns:ns-bundle)

you'll see a console warning:

8/27/10 12:22:49 PM	dx86cl64[9511]	*** __NSAutoreleaseNoPool(): Object 0x18ed40 of class NSCFArray autoreleased with no pool in place - just leaking

warmest regards,

Ralph


Raffael Cavallaro
raffaelcavallaro at me.com








More information about the Openmcl-devel mailing list