mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 20:59:39 +02:00
Cocoq: release a global variables issue #41170
This commit is contained in:
parent
c56446c89c
commit
42f7e27f41
@ -1986,8 +1986,5 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
|
||||||
ASyncLCLControlAdjustSizer:= TASyncLCLControlAdjustSizer.Create;
|
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ unit CocoaWSScrollers;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, LCLType, Controls, Forms,
|
Classes, SysUtils, LCLType, Controls, Forms,
|
||||||
CocoaAll, MacOSAll, CocoaPrivate, CocoaScrollers, CocoaUtils, cocoa_extra;
|
CocoaAll, MacOSAll, CocoaPrivate, CocoaScrollers, CocoaUtils, cocoa_extra;
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -166,5 +166,8 @@ end;
|
|||||||
initialization
|
initialization
|
||||||
ASyncLCLControlAdjustSizer:= TASyncLCLControlAdjustSizer.Create;
|
ASyncLCLControlAdjustSizer:= TASyncLCLControlAdjustSizer.Create;
|
||||||
|
|
||||||
|
finalization
|
||||||
|
FreeAndNil( ASyncLCLControlAdjustSizer );
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user