QTfrontend/CocoaInitializer.mm
branchwebgl
changeset 8096 453917e94e55
parent 8064 202e2cce7077
--- a/QTfrontend/CocoaInitializer.mm	Wed Nov 14 00:23:29 2012 +0100
+++ b/QTfrontend/CocoaInitializer.mm	Thu Nov 22 00:41:53 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()