Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(network): don't block the main thread on rfkill update
Moving rfkill to the main event loop had unexpected side-effects. Notably, the network module mutex can block all the main thread events for several seconds while the network worker thread is sleeping. Instead of waiting for the mutex let's hope that the worker thread succeeds and schedule timer thread wakeup just in case.
- Loading branch information