aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-07-19 11:52:11 +0200
committerRiccardo Spagni <ric@spagni.net>2017-07-19 11:52:11 +0200
commite050853ed330ee6079a1306becaff2fd3f6c35d6 (patch)
tree72ec5120e854931adcb05e6cab29295e0764d8fe
parentMerge pull request #2173 (diff)
parentAdd notification on stop (diff)
downloadmonero-e050853ed330ee6079a1306becaff2fd3f6c35d6.tar.xz
Merge pull request #2157
6a23cd07 Add notification on stop (Jethro Grassie)
-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);