Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lifx] Improve InterruptedException handling (openhab#11653)
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>
- Loading branch information