summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buffer_utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc
index d208386e..9f8f8860 100644
--- a/src/buffer_utils.cc
+++ b/src/buffer_utils.cc
@@ -155,6 +155,8 @@ Buffer* create_fifo_buffer(String name, int fd, bool scroll)
while (--loops and count > 0 and
select(fifo+1, &rfds, nullptr, nullptr, &tv) == 1);
+ buffer->run_hook_in_own_context("BufReadFifo", buffer->name());
+
if (count <= 0)
buffer->values().erase(fifo_watcher_id); // will delete this
}), std::move(watcher_deleter));