mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-15 22:53:34 +02:00
gsocket: Don't bother updating select mask if socket is closed
This commit is contained in:
@ -3790,6 +3790,9 @@ update_select_events (GSocket *socket)
|
||||
GList *l;
|
||||
WSAEVENT event;
|
||||
|
||||
if (socket->priv->closed)
|
||||
return;
|
||||
|
||||
ensure_event (socket);
|
||||
|
||||
event_mask = 0;
|
||||
|
Reference in New Issue
Block a user