QTfrontend/CocoaInitializer.mm
changeset 8064 202e2cce7077
parent 6952 7f70f37bbf08
--- a/QTfrontend/CocoaInitializer.mm	Mon Nov 19 00:49:24 2012 +0100
+++ b/QTfrontend/CocoaInitializer.mm	Mon Nov 19 02:48:21 2012 +0100
@@ -33,8 +33,8 @@
 CocoaInitializer::CocoaInitializer()
 {
     c = new CocoaInitializer::Private();
+    c->pool = [[NSAutoreleasePool alloc] init];
     NSApplicationLoad();
-    c->pool = [[NSAutoreleasePool alloc] init];
 }
 
 CocoaInitializer::~CocoaInitializer()