If a pane is killed, cancel reading from the file. GitHub issue 3422.

This commit is contained in:
nicm
2023-01-06 07:09:27 +00:00
parent a41a927441
commit 09afc6c8ee
5 changed files with 60 additions and 15 deletions

View File

@ -66,7 +66,8 @@ enum msgtype {
MSG_WRITE_OPEN,
MSG_WRITE,
MSG_WRITE_READY,
MSG_WRITE_CLOSE
MSG_WRITE_CLOSE,
MSG_READ_CANCEL
};
/*
@ -92,6 +93,10 @@ struct msg_read_done {
int error;
};
struct msg_read_cancel {
int stream;
};
struct msg_write_open {
int stream;
int fd;