Skip to content

Consider using __del__ #1448

@felixdivo

Description

@felixdivo

This was brought up in #1435. We could implement __del__ in the BusABC to do a best-effort cleanup and call shutdown() in case the user forgot to. We could also print a warning in such a case to notify the user of the improper use of the library. It is not guaranteed that the method is called, but if it is in some cases we might as well use it.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions