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:
freq 2017-02-05 07:00:11 +00:00
parent 01a2998a5a
commit 0570e97c82

View File

@ -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.