Cocoq: release a global variables issue #41170

This commit is contained in:
rich2014 2024-10-04 23:07:52 +08:00
parent c56446c89c
commit 42f7e27f41
2 changed files with 4 additions and 4 deletions

View File

@ -1986,8 +1986,5 @@ begin
end;
end;
initialization
ASyncLCLControlAdjustSizer:= TASyncLCLControlAdjustSizer.Create;
end.

View File

@ -6,7 +6,7 @@ unit CocoaWSScrollers;
interface
uses
Classes, LCLType, Controls, Forms,
Classes, SysUtils, LCLType, Controls, Forms,
CocoaAll, MacOSAll, CocoaPrivate, CocoaScrollers, CocoaUtils, cocoa_extra;
type
@ -166,5 +166,8 @@ end;
initialization
ASyncLCLControlAdjustSizer:= TASyncLCLControlAdjustSizer.Create;
finalization
FreeAndNil( ASyncLCLControlAdjustSizer );
end.