zsmartsystems / com.zsmartsystems.zigbee

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

Null-check Future in ZclCluster.readAttributeValue #1289

Closed TomTravaglino closed 2 years ago

TomTravaglino commented 2 years ago

Resolves #1288

The PR introduces a simple null-check for the Future that is returned by the readAttribute method. The null-check is needed as the Future can be null when the ZigBeeTransactionManager is shut down.

cdjackson commented 2 years ago

Thanks @TomTravaglino