[
https://issues.apache.org/jira/browse/IGNITE-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-1598:
-----------------------------------
Component/s: platforms
> .NET: Review IDisposable usage for MemoryStreams and PlatformMemory
> -------------------------------------------------------------------
>
> Key: IGNITE-1598
> URL: https://issues.apache.org/jira/browse/IGNITE-1598
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Reporter: Pavel Tupitsyn
> Labels: .NET
>
> * IPortableStream is IDisposable, but it does not own resources directly
> * PlatformMemory is not IDisposable, but is does own resources
> * Most usages look like "using (var mem =
> IgniteManager.Memory.Allocate().GetStream())"
> * Memory.Release can't be called multiple times (will cause bugs for pooled
> memory and crashes for unpooled memory)
> Need to think of a way to mitigate these issues.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)