For whatever reason, the discovery methods in HueBridgeDiscovery cause a lot of trouble on my Raspberry Pi, although it works on my Windows PC. My application freezes at that place.
I've looked into the issue and found out that the CancellationTokenSource.Cancel method is the cause; it stops there.
My suggestion is to follow an answer on Stack Overflow to make sure that the cancellation happens non-blocking on a different thread.
For whatever reason, the discovery methods in
HueBridgeDiscovery
cause a lot of trouble on my Raspberry Pi, although it works on my Windows PC. My application freezes at that place.I've looked into the issue and found out that the
CancellationTokenSource.Cancel
method is the cause; it stops there.My suggestion is to follow an answer on Stack Overflow to make sure that the cancellation happens non-blocking on a different thread.