mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Take dbus name only when the service is ready
This commit is contained in:
parent
60981479d7
commit
61392fd17d
1 changed files with 1 additions and 1 deletions
|
@ -288,8 +288,8 @@ public class Main {
|
|||
busType = DBusConnection.SESSION;
|
||||
}
|
||||
conn = DBusConnection.getConnection(busType);
|
||||
conn.requestBusName(TEXTSECURE_BUSNAME);
|
||||
conn.exportObject(TEXTSECURE_OBJECTPATH, m);
|
||||
conn.requestBusName(TEXTSECURE_BUSNAME);
|
||||
} catch (DBusException e) {
|
||||
e.printStackTrace();
|
||||
System.exit(3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue