diff options
author | Federico Mena Quintero <federico@gnome.org> | 2021-12-13 19:03:49 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2021-12-13 19:03:49 -0600 |
commit | f31a221f1129f6614d251d656657cca71a9f645b (patch) | |
tree | 095495607f456e4c981eb1235f8646a842344f68 /bus | |
parent | d87be0a015c336144a14225107f8b470853515cf (diff) | |
download | at-spi2-core-f31a221f1129f6614d251d656657cca71a9f645b.tar.gz |
Remove set_bus_to_exit_if_this_process_dies()
This was only used for dbus-broker. Same as for dbus-daemon, I don't
think we need to set the daemon to die anymore.
Diffstat (limited to 'bus')
-rw-r--r-- | bus/at-spi-bus-launcher.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c index 9ac68085..4d731492 100644 --- a/bus/at-spi-bus-launcher.c +++ b/bus/at-spi-bus-launcher.c @@ -313,15 +313,6 @@ on_bus_exited (GPid pid, g_main_loop_quit (app->loop); } -static void -set_bus_to_exit_if_this_process_dies (void) -{ -#ifdef __linux__ - /* Tell the bus process to exit if this process goes away */ - prctl (PR_SET_PDEATHSIG, SIGTERM); -#endif -} - #ifdef DBUS_DAEMON static gboolean ensure_a11y_bus_daemon (A11yBusLauncher *app, char *config_path) @@ -438,8 +429,6 @@ setup_bus_child_broker (gpointer data) pid_str = g_strdup_printf("%u", getpid()); g_setenv("LISTEN_PID", pid_str, TRUE); g_free(pid_str); - - set_bus_to_exit_if_this_process_dies (); } static gboolean |