Use -drain for the NSAutoreleasePool instead of -release, for compatibility 
with garbage-collected environments.

Under GC -release is always no-op, but -[NSAutoreleasePool drain] can be used 
to inform the collector that it should attempt collection. In a memory-managed 
environment, -drain is equivalent to releasing the NSAutoreleasePool, so it 
seems that using -drain is always the best option.

Changed:
U   trunk/Bundles/Objective-C.tmbundle/Snippets/NSAutoreleasePool (pool).plist
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to