From 277ce0e22653494639b946a08f809656c8e653e2 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Thu, 30 Dec 2021 14:21:20 -0500 Subject: [PATCH] Update doc comment in src/Context.h Co-authored-by: Tomas Babej --- src/Context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Context.h b/src/Context.h index 4475f9dc7..3ea247b03 100644 --- a/src/Context.h +++ b/src/Context.h @@ -126,8 +126,8 @@ public: }; //////////////////////////////////////////////////////////////////////////////// -// CurrentTask resets Context::currentTask to NULL on destruction; this ensures -// that this context value is not a dangling pointer. +// CurrentTask resets Context::currentTask to previous context task on destruction; this ensures +// that this context value is restored when exiting the scope where the context was applied. class CurrentTask { public: ~CurrentTask();