flucto-gmbh / heisskleber

MIT License
0 stars 1 forks source link

Async tasks are not cancelled #64

Closed pacjac closed 8 months ago

pacjac commented 9 months ago

When using the asyncmqtt classes and stopping the main process, the async tasks are not cancelled gracefully.

pacjac commented 8 months ago

This should probably be tackled in a general approach valid for all classes that employ some sort of loop. Instead of starting loops at instance creation, explicit start() and stop() functions will improve the testability and lifecycle management.

pacjac commented 8 months ago

Closed by #75.