Add a warning comment to "poller_fd::closed"

This commit is contained in:
2017-05-06 21:09:04 +02:00
parent 9866675bb7
commit 22edb6d489
2 changed files with 4 additions and 0 deletions

View File

@@ -1460,6 +1460,7 @@ mpd_client_reset (struct mpd_client *self)
xclose (self->socket);
self->socket = -1;
// FIXME: this is not robust wrt. forking
self->socket_event.closed = true;
poller_fd_reset (&self->socket_event);
poller_timer_reset (&self->timeout_timer);