73ed075d4e
When the binding is stopped sleeping threads are interrupted by design. By throwing the InterruptedException, it should be caught in LifxSelectorUtil.sendPacket (which is waiting for the packet interval to elapse), which will then abort sending a packet. This prevents: ``` [ERROR] [lifx.internal.util.LifxThrottlingUtil] - An exception occurred while putting the thread to sleep : 'sleep interrupted' ``` Signed-off-by: Wouter Born <github@maindrain.net> |
||
---|---|---|
.. | ||
main | ||
test/java/org/openhab/binding/lifx/internal |