From 5248985da07abeed4162835e10d6f1a28a83a208 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Wed, 28 Oct 2020 17:17:49 -0400 Subject: [PATCH] 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 --- src/bees-context.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bees-context.cc b/src/bees-context.cc index 3d7d22e..a464f56 100644 --- a/src/bees-context.cc +++ b/src/bees-context.cc @@ -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();