Browse Source
* fix: check format key in DataTransferItem.FindAccessor single-item path The single-item fast path in FindAccessor returned the stored value for any format query without checking if the requested format matched. This caused TryGetRaw to return wrong data when queried with a format different from the one stored (e.g., querying Bitmap on a text-only item returned the text value instead of null). Add the missing singleItem.Key.Equals(format) check, consistent with the dictionary path (TryGetValue) and RemoveCore. * chore: retrigger CI * chore: retrigger CI --------- Co-authored-by: Julien Lebosquain <julien@lebosquain.net>release/12.0.1
committed by
Julien Lebosquain
2 changed files with 11 additions and 1 deletions
Loading…
Reference in new issue