[PT Run] Add logs for Launcher (#8489)

This commit is contained in:
Mykhailo Pylyp
2020-12-10 14:56:16 +02:00
committed by GitHub
parent 1790bfe91c
commit 6cefb4e83f
3 changed files with 8 additions and 1 deletions

View File

@@ -294,10 +294,11 @@ public:
{
if (WaitForSingleObject(m_hProcess, 0) == WAIT_OBJECT_0)
{
// The process exited, restart it
Logger::warn("PowerToys Run has exited unexpectedly, restarting PowerToys Run.");
enable();
}
Logger::trace("Set POWER_LAUNCHER_SHARED_EVENT");
SetEvent(m_hEvent);
return true;
}