[
https://issues.apache.org/jira/browse/IGNITE-25178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948887#comment-17948887
]
Pavel Tupitsyn commented on IGNITE-25178:
-----------------------------------------
Merged to main:
https://github.com/apache/ignite-3/commit/b37ab0ef032f50dc1511bd3ba9cb609cb3acc874
> .NET: Thin 3.0: ITransaction is IAsyncDisposable but not IDisposable
> --------------------------------------------------------------------
>
> Key: IGNITE-25178
> URL: https://issues.apache.org/jira/browse/IGNITE-25178
> Project: Ignite
> Issue Type: Bug
> Components: platforms, thin client
> Affects Versions: 3.0
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Critical
> Labels: ignite-3
> Fix For: 3.1
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> It is recommended to implement *IDisposable* too when implementing
> *IAsyncDisposable*:
> https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-disposeasync
> {code}
> If you implement the IAsyncDisposable interface but not the IDisposable
> interface, your app can potentially leak resources. If a class implements
> IAsyncDisposable, but not IDisposable, and a consumer only calls Dispose,
> your implementation would never call DisposeAsync. This would result in a
> resource leak.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)