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.
This was brought up in #1435. We could implement
__del__in theBusABCto do a best-effort cleanup and callshutdown()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.