]> git.neil.brown.name Git - edlib.git/commit
Ensure we never call anything after "Close".
authorNeilBrown <neil@brown.name>
Fri, 8 Sep 2023 12:27:34 +0000 (22:27 +1000)
committerNeilBrown <neil@brown.name>
Fri, 8 Sep 2023 23:51:39 +0000 (09:51 +1000)
commit3eb87f7d6ce1b5ffde9c74c9776e9b0d3dd29164
treed7df6badae31b899e4ec624924e0fb75bc12f4ed
parentde8ba755df0ed4c2a79fdcd204f9ce593dd56bf2
Ensure we never call anything after "Close".

The only valid commands on a close pane are "Close", "Close:mark", and
"Notify:Close" and these are always pane_call.  So blocks all other
calls on DAMAGED_CLOSED panes, and block even these on DAMAGED_DEAD.

Note that "Free" is also allowed, but will soon be gone.

This requires that home_comm_call() must be supported so that a comm can
be called with a recently-closed pane as the focus (assuming it won't be
dereferenced).

Signed-off-by: NeilBrown <neil@brown.name>
core-keymap.c
core-pane.h
core.h
lib-libevent.c