Skip to content

Conversation

@TIHan
Copy link
Contributor

@TIHan TIHan commented Jan 16, 2020

We do not need a Finalize on the object that is holding a memory mapped file for RawByteMemory. Memory mapped file implementation already uses a safe handle and does it for us.

@TIHan TIHan merged commit b7a3bf8 into dotnet:master Jan 20, 2020
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
* Remove Finalize on obj holder for RawByteMemory as memory mapped files use a safe handler.

* Removed Finalize from SafeUnamanagedMemoryStream as it is an impl detail for viewing RawByteMemory as a stream

* Remove new

* Update bytes.fs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants