mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
Apple recommends the use of drain instead of calling release for NSAutoreleasePool objects
This commit is contained in:
parent
2cedcb710f
commit
024e1175dc
@ -236,7 +236,7 @@ void closeAllLinkBackLinks()
|
||||
[linkBackClient release];
|
||||
linkBackClient = nil;
|
||||
|
||||
[pool release];
|
||||
[pool drain];
|
||||
pool = nil;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user