mirror of https://github.com/koreader/koreader
Disable the network asynchronously to avoid blocking the UI
Noticeable latency between toggling the power switch and the device showing the screensaver has been tracked down to the two network manager calls. This change allows the screen to be updated first. Note that unloading the open source brcmfmac driver used on okreader is slower than unloading the proprietary driver shipped by Kobo, making this delay even more noticeable. self.suspend() is scheduled after the network manager calls to avoid race conditions.pull/2708/head
parent
11d6bfbc40
commit
10132d1c59
Loading…
Reference in New Issue