mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
daemon: first take name on the bus, then return in starter process
http://pulseaudio.org/ticket/748
This commit is contained in:
parent
acb4996203
commit
93cb75d78e
1 changed files with 4 additions and 4 deletions
|
|
@ -952,6 +952,10 @@ int main(int argc, char *argv[]) {
|
|||
goto finish;
|
||||
}
|
||||
|
||||
#ifdef HAVE_DBUS
|
||||
dbus = register_dbus(c);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_FORK
|
||||
if (daemon_pipe[1] >= 0) {
|
||||
int ok = 0;
|
||||
|
|
@ -961,10 +965,6 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DBUS
|
||||
dbus = register_dbus(c);
|
||||
#endif
|
||||
|
||||
pa_log_info(_("Daemon startup complete."));
|
||||
|
||||
retval = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue