mirror of
https://github.com/monero-project/monero.git
synced 2025-12-23 07:29:11 -08:00
Add notification on stop
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user