mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 12:59:16 +02:00
Revert "Cocoa: fix memory leak in LegacyScroller #41171"
This reverts commit e78f9e84ad
.
This commit is contained in:
parent
e78f9e84ad
commit
32d8294154
@ -511,7 +511,6 @@ begin
|
|||||||
scrollBar:= TCocoaScrollBar(TCocoaScrollBar.alloc);
|
scrollBar:= TCocoaScrollBar(TCocoaScrollBar.alloc);
|
||||||
manager:= TCocoaScrollStyleManagerLegacy.createForScrollBar;
|
manager:= TCocoaScrollStyleManagerLegacy.createForScrollBar;
|
||||||
scrollBar.setManager( manager );
|
scrollBar.setManager( manager );
|
||||||
scrollBar.autorelease;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function allocScroller(parent: TCocoaManualScrollView; dst: NSRect; aVisible: Boolean)
|
function allocScroller(parent: TCocoaManualScrollView; dst: NSRect; aVisible: Boolean)
|
||||||
|
Loading…
Reference in New Issue
Block a user