diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-02-19 15:12:46 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-02-19 15:20:20 +0100 |
commit | ac9be930e3809718a325d111b074dd140b2c9f2a (patch) | |
tree | e58ab118a563fe5b56caa4810676bbaa33a0aa3f /AUTHORS | |
parent | bf19319ce0927ec6c5c2c797b0e63cea7f152580 (diff) | |
download | gnome-bluetooth-ac9be930e3809718a325d111b074dd140b2c9f2a.tar.gz |
agent: Fix possible hang when switching Settings panels
There are usually 2 reasons why the agent might go away:
- we're switching panels in the Settings
- the Settings executable is exit()ing
In the former case, we can't actually do anything if unregistering the
agent fails, and we can already remove our object path without waiting
on anyone, so just print some debug if it fails.
In the latter case, we'll be gone from the bus before before the method
has time to answer.
This fixes possible hangs while unregistering the agent when switching
panels with some broken Bluetooth adapters and/or drivers.
Closes: #49
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions