mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 21:00:43 +02:00
cocoa: applying resource leak patch by Zoë Peterson. #35944
git-svn-id: trunk@61688 -
This commit is contained in:
parent
2a64470b79
commit
0ff8e75f53
@ -269,6 +269,7 @@ begin
|
|||||||
{$else}
|
{$else}
|
||||||
AView.setHidden(false);
|
AView.setHidden(false);
|
||||||
{$endif}
|
{$endif}
|
||||||
|
AView.release;
|
||||||
SetViewDefaults(Result);
|
SetViewDefaults(Result);
|
||||||
if AView.isKindOfClass(TCocoaCustomControl) then
|
if AView.isKindOfClass(TCocoaCustomControl) then
|
||||||
TCocoaCustomControl(AView).auxMouseByParent := true;
|
TCocoaCustomControl(AView).auxMouseByParent := true;
|
||||||
|
Loading…
Reference in New Issue
Block a user