Skip to content

Make disposable the classes interacting with native code  #16

@marcocappolimases

Description

@marcocappolimases

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

Metadata

Metadata

Labels

C#Related to C# wrapper codeJavaRelated to Java wrapper codeenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions