diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-07-19 11:52:11 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-07-19 11:52:11 +0200 |
commit | e050853ed330ee6079a1306becaff2fd3f6c35d6 (patch) | |
tree | 72ec5120e854931adcb05e6cab29295e0764d8fe /contrib/epee/src | |
parent | Merge pull request #2173 (diff) | |
parent | Add notification on stop (diff) | |
download | monero-e050853ed330ee6079a1306becaff2fd3f6c35d6.tar.xz |
Merge pull request #2157
6a23cd07 Add notification on stop (Jethro Grassie)
Diffstat (limited to 'contrib/epee/src')
-rw-r--r-- | contrib/epee/src/readline_buffer.cpp | 1 |
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); |