mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
socketservice: minor cleanup
This commit is contained in:
parent
79e63d4e5d
commit
641864bcba
@ -129,11 +129,7 @@ g_socket_service_changed (GSocketListener *listener)
|
||||
if (service->priv->outstanding_accept)
|
||||
g_cancellable_cancel (service->priv->cancellable);
|
||||
else
|
||||
{
|
||||
g_socket_listener_accept_async (listener, service->priv->cancellable,
|
||||
g_socket_service_ready, NULL);
|
||||
service->priv->outstanding_accept = TRUE;
|
||||
}
|
||||
do_accept (service);
|
||||
}
|
||||
|
||||
G_UNLOCK (active);
|
||||
|
Loading…
Reference in New Issue
Block a user