Cocoa: remove autoreleasepool in QCocoaIntegration
authorMorten Johan Sorvig <morten.sorvig@nokia.com>
Thu, 8 Dec 2011 09:54:49 +0000 (10:54 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 8 Dec 2011 11:46:08 +0000 (12:46 +0100)
commit1a218a7ee1c031f16690941ef859885534b3483d
tree9c9475be576903fef958d9d41eaa803d658605cf
parente79b9d6a36bdebaf95a8ff9b2fad70d6c11d2b6a
Cocoa: remove autoreleasepool in QCocoaIntegration

This one was far to long lived and would delay
releases until application shutdown.

We might get more "no autoreleasepool in place"
warnings now, these should be fixed by adding local
auto release pools.

Change-Id: Ia7a46ab05fb1937154997d0c47b8899d2a0cef65
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
src/plugins/platforms/cocoa/qcocoaintegration.h
src/plugins/platforms/cocoa/qcocoaintegration.mm