mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 23:49:36 +02:00
cocoa: No longer needed. App meanwhile closing without memory leaks. Global NSAutoReleasePool in init / finalization is dangerous for libraries and leads to crash during host shut down.
git-svn-id: trunk@54093 -
This commit is contained in:
parent
01a2998a5a
commit
0570e97c82
@ -190,16 +190,12 @@ uses
|
||||
// the implementation of the extra LCL interface methods
|
||||
{$I cocoalclintf.inc}
|
||||
|
||||
var
|
||||
AppReleasePool: NSAutoReleasePool;
|
||||
|
||||
initialization
|
||||
// {$I Cocoaimages.lrs}
|
||||
AppReleasePool := NSAutoreleasePool.alloc.init;
|
||||
|
||||
InternalInit;
|
||||
|
||||
finalization
|
||||
InternalFinal;
|
||||
AppReleasePool.release;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user