marvingrieger / ioBroker.haassohn

This is an adapter for ioBroker that enables to control Haas+Sohn devices.
MIT License
8 stars 7 forks source link

Simplify adapter termination #25

Open marvingrieger opened 3 years ago

marvingrieger commented 3 years ago

you have a very complex adapter disabling handling in your code, you can simply call adapter.terminate this will stop the execution without disabling the adapter, which is pretty much what you do in your code

Originally posted by @foxriver76 in https://github.com/ioBroker/ioBroker.repositories/issues/1054#issuecomment-761801121