Revert "Cocoa: fix memory leak in LegacyScroller #41171"

This reverts commit 4362298ebd.
This commit is contained in:
rich2014 2024-10-05 01:19:37 +08:00
parent 4362298ebd
commit 96b5fe52c4

View File

@ -509,7 +509,6 @@ begin
scrollBar:= TCocoaScrollBar(TCocoaScrollBar.alloc);
manager:= TCocoaScrollStyleManagerLegacy.createForScrollBar;
scrollBar.setManager( manager );
scrollBar.autorelease;
end;
function allocScroller(parent: TCocoaManualScrollView; dst: NSRect; aVisible: Boolean)