Skip to content

Remove IDisposable/AutoCloseable if not necessary #43

@emgre

Description

@emgre

Some classes do not depend on the runtime or do not need an explicit destruction/shutdown. A great example for this is the Request object in DNP3 master. For these classes, we want to be able to remove the closeable implementation by a flag in the schema. This would remove the using statements to appease the linters.

In C#, it would remove the IDisposable implementation. In Java, it would remove the AutoCloseable implementation. The finalizer would still properly delete the object, of course.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestschemaIssue regarding the schema

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions