robbiehanson/CocoaAsyncSocket — Issue #7: NSAutoreleasePools are not drained when using GC.
Author: ryankentp
Created: 2011-12-12 01:59:27+00:00
State: open

I am writing an application that uses garbage collection. Because you release the NSAutoreleasePools, they are not actually drained. According to Apple's documentation on [NSAutoreleasePools](http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/nsautoreleasepool_Class/Reference/Reference.html), you should use drain instead of release to support both garbage collected, and retain-count based environments.