mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
Take dbus name only when the service is ready
This commit is contained in:
1 parent
60981479d7
commit
61392fd17d
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user