From 5319f0818da3de30ac76974d9ff8f92fc736a5b9 Mon Sep 17 00:00:00 2001 From: John McPherson Date: Wed, 5 Nov 2025 16:25:22 -0800 Subject: [PATCH] Port to 1.11 --- src/AppInstallerCLICore/ExecutionContext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AppInstallerCLICore/ExecutionContext.cpp b/src/AppInstallerCLICore/ExecutionContext.cpp index 56c9e4e87e..37412174eb 100644 --- a/src/AppInstallerCLICore/ExecutionContext.cpp +++ b/src/AppInstallerCLICore/ExecutionContext.cpp @@ -118,6 +118,8 @@ namespace AppInstaller::CLI::Execution ~SignalTerminationHandler() { + SetConsoleCtrlHandler(StaticCtrlHandlerFunction, FALSE); + // std::thread requires that any managed thread (joinable) be joined or detached before destructing if (m_windowThread.joinable()) {