]> git.lyx.org Git - features.git/commitdiff
Apple recommends the use of drain instead of calling release for NSAutoreleasePool...
authorStephan Witt <switt@lyx.org>
Sat, 19 Apr 2014 16:27:14 +0000 (18:27 +0200)
committerStephan Witt <switt@lyx.org>
Sat, 19 Apr 2014 16:27:14 +0000 (18:27 +0200)
src/support/linkback/LinkBackProxy.m

index 1e77d9466081cb189d9345ad189c51694c9f2eb7..8112b313c0db3baae0c158df9ea17288c35c012e 100644 (file)
@@ -236,7 +236,7 @@ void closeAllLinkBackLinks()
        [linkBackClient release];
        linkBackClient = nil;
        
-       [pool release];
+       [pool drain];
        pool = nil;
 }