]> glassweightruler.freedombox.rocks Git - waydroid.git/commit
session_manager: Stop the container on logout
authorAlessandro Astone <ales.astone@gmail.com>
Tue, 26 Aug 2025 13:48:34 +0000 (15:48 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Tue, 26 Aug 2025 13:58:25 +0000 (15:58 +0200)
commite3fd2902a2b9d192069c0b74143fbe1cd7d5360b
treecec42583baa646f3e78777e00dcab08cc5c01a82
parent4bc3b0f47cc956e2a311e90279af9aa5b8039403
session_manager: Stop the container on logout

On logout, the session dbus process is killed.

The default behaviour for libdbus is to exit(1) on bus disconnect, which would
leave the container running in the background with Android bootlooping while
trying to establish a Wayland connection again.

Intercept the disconnect signal and gracefully stop the container instead.
tools/actions/session_manager.py