aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src
diff options
context:
space:
mode:
authorJethro Grassie <jtg@xtrabass.com>2017-07-07 07:59:07 -0400
committerJethro Grassie <jtg@xtrabass.com>2017-07-07 07:59:07 -0400
commit6a23cd07aa8cfdf1a8dbb65afdb2bca90286ae98 (patch)
tree620b5e75c28244425906fde108af48bb84e13dcf /contrib/epee/src
parentMerge pull request #2130 (diff)
downloadmonero-6a23cd07aa8cfdf1a8dbb65afdb2bca90286ae98.tar.xz
Add notification on stop
Diffstat (limited to 'contrib/epee/src')
-rw-r--r--contrib/epee/src/readline_buffer.cpp1
1 files changed, 1 insertions, 0 deletions
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<std::mutex> lock(process_mutex);
+ have_line.notify_all();
if(m_cout_buf == NULL)
return;
std::cout.rdbuf(m_cout_buf);