mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16: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;
|
||||
WSAEVENT event;
|
||||
|
||||
if (socket->priv->closed)
|
||||
return;
|
||||
|
||||
ensure_event (socket);
|
||||
|
||||
event_mask = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user