From a55bcc2a0336503a4f1822b36bdb10e2ca446e6a Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Tue, 30 Sep 2025 10:41:53 -0400 Subject: [PATCH] LockerAndInvoker: better var naming --- include/serializedAsynchronousContinuation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/serializedAsynchronousContinuation.h b/include/serializedAsynchronousContinuation.h index fde43de..813ed1f 100644 --- a/include/serializedAsynchronousContinuation.h +++ b/include/serializedAsynchronousContinuation.h @@ -80,12 +80,12 @@ public: invocationTarget(std::move(invocationTarget)) { #ifdef CONFIG_ENABLE_DEBUG_LOCKS - std::optional> firstFailedQutex = + std::optional> firstDuplicatedQutex = traceContinuationHistoryForDeadlock(); - if (firstFailedQutex.has_value()) + if (firstDuplicatedQutex.has_value()) { - handleDeadlock(firstFailedQutex.value().get()); + handleDeadlock(firstDuplicatedQutex.value().get()); throw std::runtime_error( "LockerAndInvoker::LockerAndInvoker(): Deadlock detected"); }