zsmartsystems / com.zsmartsystems.zigbee

ZigBee Cluster Library Java framework supporting multiple dongles
Eclipse Public License 1.0
142 stars 88 forks source link

Changed shutdown methods of drivers to always close handlers #1311

Closed TomTravaglino closed 2 years ago

TomTravaglino commented 2 years ago

Resolves #1305

This PR fixes the issue where shutdown doesn't close the handlers when the initialization was not successful.

cdjackson commented 2 years ago

Thanks @TomTravaglino - much appreciated. I had not had time to look at this, but it looks like a good (and simple) approach.