Skip to content

Reconnect to DBus session bus if address env changes

NotKit requested to merge personal/NotKit/fix-lomiri-app-launch-tests into main

Reconnect to DBus session bus if address env changes

Based on "Ensure we don't leak references to the DBus session bus." commit b6b0944e.

Modify the original commit to store DBus session connection in static local variable and reconnect only if DBus session bus address has changed to fix lomiri-app-launch tests.

This reverts commit 3575c9ee.

Edited by NotKit

Merge request reports