diff --git a/src/modules/launcher/Microsoft.Launcher/dllmain.cpp b/src/modules/launcher/Microsoft.Launcher/dllmain.cpp index c50c951a5ee5..f4b9f6908bd9 100644 --- a/src/modules/launcher/Microsoft.Launcher/dllmain.cpp +++ b/src/modules/launcher/Microsoft.Launcher/dllmain.cpp @@ -271,6 +271,12 @@ class Microsoft_Launcher : public PowertoyModuleIface // For now, hotkeyId will always be zero if (m_enabled) { + if (WaitForSingleObject(m_hProcess, 0) == WAIT_OBJECT_0) + { + // The process exited, restart it + enable(); + } + SetEvent(m_hEvent); return true; }