1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 13:25:45 +02:00

context: fix shutdown log messages identifying the wrong thread

We are waiting for the status thread, not the progress thread.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2020-10-28 17:17:49 -04:00
parent d1f1c386bc
commit 5248985da0

View File

@ -1043,8 +1043,8 @@ BeesContext::stop()
// XXX: nobody can see this BEESNOTE because we are killing the
// thread that publishes it
BEESNOTE("waiting for progress thread");
BEESLOGDEBUG("Waiting for progress thread");
BEESNOTE("waiting for status thread");
BEESLOGDEBUG("Waiting for status thread");
lock.lock();
m_stop_status = true;
m_stop_condvar.notify_all();