masesgroup / masesgroup/DataDistributionManager

Make disposable the classes interacting with native code

Open
#16 1 comment 0 reactions 1 assignee View on GitHub

@mariomastrodicasa is already working on this.

Since Mar 30, 2021.

C# enhancement Java
Dominant language
C#
Stars
2
Forks
3
Avg merge
7d 5h
Merged PRs (30d)
12

Description

Is your feature request related to a problem? Please describe.
The management of instance destruction for managed code is now delegated to the garbage collector. This way it is not possible to know what is going on behind the scenes and this can lead to problematic behavior and bugs.

Describe the solution you'd like
Implementing the IDisposable interface in C# and AutoClosable interface in Java for classes related to native code and manage it in native code, to let the developers have more control on what the code really do.

Describe alternatives you've considered
N/A

Additional context
N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.