mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
gsocket: Don't bother updating select mask if socket is closed
This commit is contained in:
parent
01b77666bc
commit
d01588f37e
@ -3790,6 +3790,9 @@ update_select_events (GSocket *socket)
|
|||||||
GList *l;
|
GList *l;
|
||||||
WSAEVENT event;
|
WSAEVENT event;
|
||||||
|
|
||||||
|
if (socket->priv->closed)
|
||||||
|
return;
|
||||||
|
|
||||||
ensure_event (socket);
|
ensure_event (socket);
|
||||||
|
|
||||||
event_mask = 0;
|
event_mask = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user