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
[dsme] Avoid recursion during dsmesock disconnecting. JB#38474
Some dsmesock disconnect issues were found from mce code tree. As the usb-moded code is derived from mce, similar fixes need to be made also here. Avoid recursive process watchdog quits during disconnect by doing the quitting only once / connect after removal of socket io watch. Drop reconnect attempts on I/O error situations as they are unlikely to do any good and can lead to further recursive behavior. Do not initiate new dsmesock connections while device is shutting down. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
1 changed file
with
16 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