From 4b02030c800d98eb87edc7ac8aefdfdafbd532b8 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sat, 23 May 2015 19:55:10 +0200 Subject: kike: mark an issue with FIXME --- kike.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kike.c b/kike.c index 7bbfef4..a2820ee 100644 --- a/kike.c +++ b/kike.c @@ -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); } -- cgit v1.2.3-70-g09d2