chore: Set default values for m_foreground and m_activeDesktop MSWindowsWatchdog

This commit is contained in:
Nick Bolton
2025-03-03 12:26:13 +00:00
parent 58cb2b76de
commit 51ec36f23d

View File

@ -77,8 +77,8 @@ private:
MSWindowsSession m_session; MSWindowsSession m_session;
int m_startFailures = 0; int m_startFailures = 0;
FileLogOutputter *m_fileLogOutputter = nullptr; FileLogOutputter *m_fileLogOutputter = nullptr;
bool m_foreground; bool m_foreground = false;
std::string m_activeDesktop; std::string m_activeDesktop = "";
std::unique_ptr<deskflow::platform::MSWindowsProcess> m_process; std::unique_ptr<deskflow::platform::MSWindowsProcess> m_process;
std::optional<double> m_nextStartTime = std::nullopt; std::optional<double> m_nextStartTime = std::nullopt;
ProcessState m_processState = ProcessState::Idle; ProcessState m_processState = ProcessState::Idle;