diff options
author | Jethro Grassie <jtg@xtrabass.com> | 2017-07-07 07:59:07 -0400 |
---|---|---|
committer | Jethro Grassie <jtg@xtrabass.com> | 2017-07-07 07:59:07 -0400 |
commit | 6a23cd07aa8cfdf1a8dbb65afdb2bca90286ae98 (patch) | |
tree | 620b5e75c28244425906fde108af48bb84e13dcf /contrib/epee | |
parent | Merge pull request #2130 (diff) | |
download | monero-6a23cd07aa8cfdf1a8dbb65afdb2bca90286ae98.tar.xz |
Add notification on stop
Diffstat (limited to 'contrib/epee')
-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); |