From 87fb06781cc8bf1ab2970850371ae9ea7fc18c4f Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Mon, 10 Mar 2025 13:45:18 +0000 Subject: [PATCH] refactor: Change shutdownExistingProcesses to static in MSWindowsWatchdog --- src/lib/platform/MSWindowsWatchdog.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/platform/MSWindowsWatchdog.h b/src/lib/platform/MSWindowsWatchdog.h index 71188a132..60cca8067 100644 --- a/src/lib/platform/MSWindowsWatchdog.h +++ b/src/lib/platform/MSWindowsWatchdog.h @@ -80,11 +80,6 @@ private: */ void outputLoop(void *); - /** - * @brief Stops any core processes which were not started by the watchdog. - */ - void shutdownExistingProcesses(); - /** * @brief Duplicates the process token for the given process. * @@ -145,6 +140,11 @@ private: */ static std::string processStateToString(ProcessState state); + /** + * @brief Stops any core processes which were not started by the watchdog. + */ + static void shutdownExistingProcesses(); + private: Thread *m_thread = nullptr; bool m_running = true;