diff options
-rw-r--r-- | kike.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -601,6 +601,10 @@ server_context_free (struct server_context *self) for (link = self->clients; link; link = tmp) { tmp = link->next; + // FIXME: either make sure this isn't called (which it can as of now, + // see on_irc_quit_timeout) or fix client_free() to unregister from + // the poller before closing the socket (we could also just + // set .closed = true). client_free (link); free (link); } |