Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Fixing Retain to return MemoryHandle with correct PinnedPointer #14248

Merged
merged 2 commits into from
Sep 29, 2017

Conversation

ahsonkhan
Copy link

@ahsonkhan ahsonkhan commented Sep 29, 2017

Fixes https://github.com/dotnet/corefx/issues/24317

  • AddOffset throws if PinnedPointer is null. Should it fail silently and do nothing?
  • Would it be better to create a setter for PinnedPointer instead of the AddOffset API?

Related PR: dotnet/corefx#24323

cc @pakrym, @KrzysztofCwalina, @stephentoub, @davidfowl, @jkotas

@ahsonkhan
Copy link
Author

@dotnet-bot test this please

@ahsonkhan ahsonkhan closed this Sep 29, 2017
@ahsonkhan ahsonkhan reopened this Sep 29, 2017
@ahsonkhan ahsonkhan merged commit eab3a97 into dotnet:master Sep 29, 2017
@ahsonkhan ahsonkhan deleted the FixMemoryRetain branch September 29, 2017 19:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants