Commit 415e5693 authored by Philip Withnall's avatar Philip Withnall

Merge branch 'clear-signal-handler-use' into 'master'

gdbusserver: Use g_clear_signal_handler

See merge request !860
parents dfa7a5b5 5deaf0bf
Pipeline #83314 passed with stages
in 17 minutes and 33 seconds
......@@ -608,8 +608,7 @@ g_dbus_server_stop (GDBusServer *server)
/* Right now we don't have any transport not using the listener... */
g_assert (server->is_using_listener);
g_assert (server->run_signal_handler_id > 0);
g_signal_handler_disconnect (server->listener, server->run_signal_handler_id);
server->run_signal_handler_id = 0;
g_clear_signal_handler (&server->run_signal_handler_id, server->listener);
g_socket_service_stop (G_SOCKET_SERVICE (server->listener));
server->active = FALSE;
g_object_notify (G_OBJECT (server), "active");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment