refactor: Change shutdownExistingProcesses to static in MSWindowsWatchdog

This commit is contained in:
Nick Bolton 2025-03-10 13:45:18 +00:00 committed by Chris Rizzitello
parent b9017de881
commit 87fb06781c

View file

@ -80,11 +80,6 @@ private:
*/ */
void outputLoop(void *); 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. * @brief Duplicates the process token for the given process.
* *
@ -145,6 +140,11 @@ private:
*/ */
static std::string processStateToString(ProcessState state); static std::string processStateToString(ProcessState state);
/**
* @brief Stops any core processes which were not started by the watchdog.
*/
static void shutdownExistingProcesses();
private: private:
Thread *m_thread = nullptr; Thread *m_thread = nullptr;
bool m_running = true; bool m_running = true;