mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Add notification on stop
This commit is contained in:
parent
605ad09a3e
commit
6a23cd07aa
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue