Apple recommends the use of drain instead of calling release for NSAutoreleasePool objects

This commit is contained in:
Stephan Witt 2014-04-19 18:27:14 +02:00
parent 2cedcb710f
commit 024e1175dc

View File

@ -236,7 +236,7 @@ void closeAllLinkBackLinks()
[linkBackClient release]; [linkBackClient release];
linkBackClient = nil; linkBackClient = nil;
[pool release]; [pool drain];
pool = nil; pool = nil;
} }