mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 11:40:32 +01:00
core: disconnect new-connection handler for private server
I don't think this was an actual problem. But to be sure, disconnect the signal handler before destroying the PrivateServer instance.
This commit is contained in:
parent
53fe565f56
commit
c313d64802
1 changed files with 2 additions and 0 deletions
|
|
@ -281,6 +281,8 @@ private_server_free (gpointer ptr)
|
|||
|
||||
g_dbus_server_stop (s->server);
|
||||
|
||||
g_signal_handlers_disconnect_by_func (s->server, G_CALLBACK (private_server_new_connection), s);
|
||||
|
||||
g_object_unref (s->server);
|
||||
|
||||
g_slice_free (PrivateServer, s);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue