kike: mark an issue with FIXME

This commit is contained in:
Přemysl Eric Janouch 2015-05-23 19:55:10 +02:00
parent 3ed519c1c5
commit 4b02030c80
1 changed files with 4 additions and 0 deletions

4
kike.c
View File

@ -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);
}