CurtHagenlocher commented on code in PR #534:
URL: https://github.com/apache/arrow-dotnet/pull/534#discussion_r4792968058
##########
src/Apache.Arrow/Memory/SharedMemoryHandle.cs:
##########
@@ -21,19 +21,48 @@ namespace Apache.Arrow.Memory
internal sealed class SharedMemoryHandle : IMemoryOwner<byte>
{
private SharedMemoryOwner _owner;
+ private readonly Memory<byte> _memory;
Review Comment:
Good catch. Fixed in 7f8806b: releasing a handle now also clears its cached
slice, so a disposed buffer no longer keeps its backing memory reachable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]