FIX: memory leaks in Share on MacOS

This commit is contained in:
rich2014 2024-01-07 13:29:20 +08:00
commit ecac177983

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(