From c17e7b8f11eead4105b6fc706650780e68f6634c Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 22 Sep 2016 12:43:02 -0500 Subject: fix r25 copypaste error, lock on the correct mutex --- src/adbd-client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adbd-client.cpp b/src/adbd-client.cpp index 0d955ab..25aefa8 100644 --- a/src/adbd-client.cpp +++ b/src/adbd-client.cpp @@ -131,7 +131,7 @@ g_debug("%s %s", G_STRLOC, G_STRFUNC); g_debug("%s %s", G_STRLOC, G_STRFUNC); // set m_pkresponse and wake up the waiting worker thread - std::lock_guard lk(m_sleep_mutex); + std::lock_guard lk(m_pkresponse_mutex); //std::unique_lock lk(m_pkresponse_mutex); g_debug("%s %s", G_STRLOC, G_STRFUNC); m_pkresponse = response; -- cgit v1.2.3