mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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 release];
|
||||||
linkBackClient = nil;
|
linkBackClient = nil;
|
||||||
|
|
||||||
[pool release];
|
[pool drain];
|
||||||
pool = nil;
|
pool = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user