Skip to content

Remove all lingering Inhibitors when DBus connection is lost

  • Refactored xfpm_inhibit_connection_lost_cb to remove all inhibitors associated with a DBus connection when it is lost.
  • Removed the unused xfpm_inhibit_find_application_by_unique_connection_name function, consolidating the logic directly into xfpm_inhibit_connection_lost_cb.
  • Updated the inhibitor removal loop to iterate backward for safe modification of the array during the operation.
  • Fixed a typo in a debug message, changing "UnHibit" to "Uninhibit" for consistency.

Fixes: #248 (closed)

Edited by Gaël Bonithon

Merge request reports