Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[dbus] Fix peerinfo tracking on mce startup
Tracked services that are not running when mce starts up are left hanging in
undefined state instead of getting declared as stopped. This happens because
service is considered stopped when peerinfo makes transition away from
running state - which is not possible before the service has been up at
least once.

Drop stale and deleted peerinfo states as they are not really needed and
just add complexity.

Handle state transitions resulting from name owner changes explicitly
instead of doing them implicitly from within the setter function.

Declare service as stopped when peerinfo enters stopped state rather than
leaving running state.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Mar 8, 2019
1 parent e2f2949 commit f5deaf8
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 155 deletions.

0 comments on commit f5deaf8

Please sign in to comment.