FIX: memory leaks in Share on MacOS

(cherry picked from commit ecac177983)
This commit is contained in:
rich2014 2024-01-07 13:29:20 +08:00 committed by Alexander Koblov
commit 51ab93793b

View file

@ -356,6 +356,7 @@ begin
picker:= NSSharingServicePicker.alloc.initWithItems( filenameArray );
picker.showRelativeToRect_ofView_preferredEdge( popupNSRect, NSView(control.handle) , NSMinYEdge );
picker.release;
end;
procedure TDCCocoaApplication.observeValueForKeyPath_ofObject_change_context(