Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[dbus] Deny mode change requests while busy. JB#42757
Previously switches would block mainloop and multiple mode change requests would effectively get queued and executed one after another. Now that separate worker thread is utilized, the D-Bus requests are handled without delay and can cause termination of already ongoing transition - which is could cause problems especially if done in rapid succession. Deny mode change requests over D-Bus when already busy with mode switch, so that bailing out from ongoing transition is reserved only for dealing with unavoidable physical cable disconnect situations. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
1 changed file
with
29 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters