From 6a23cd07aa8cfdf1a8dbb65afdb2bca90286ae98 Mon Sep 17 00:00:00 2001 From: Jethro Grassie Date: Fri, 7 Jul 2017 07:59:07 -0400 Subject: Add notification on stop --- contrib/epee/src/readline_buffer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/epee/src') diff --git a/contrib/epee/src/readline_buffer.cpp b/contrib/epee/src/readline_buffer.cpp index c846641bd..532611326 100644 --- a/contrib/epee/src/readline_buffer.cpp +++ b/contrib/epee/src/readline_buffer.cpp @@ -59,6 +59,7 @@ void rdln::readline_buffer::start() void rdln::readline_buffer::stop() { std::unique_lock lock(process_mutex); + have_line.notify_all(); if(m_cout_buf == NULL) return; std::cout.rdbuf(m_cout_buf); -- cgit v1.2.3