CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/06/05 12:01:12
Modified files:
usr.bin/tmux : cmd-confirm-before.c cmd-load-buffer.c
server-client.c server.c tmux.h
Log message:
Instead of putting dead clients on a list and checking it every loop,
use event_once to queue a callback to deal with them. Also dead clients
with references would never actually be freed because the wrap-up
functions (the callback for stdin, or status_prompt_clear) would never
be called. So call them in server_client_lost.