mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 16:02:46 +08:00
fixed: ipc client connected event was being wiped out
daemon now communicates graceful shutdown message through new ipc system.
This commit is contained in:
@@ -437,7 +437,8 @@ CMSWindowsRelauncher::shutdownProcess(const PROCESS_INFORMATION& pi, int timeout
|
||||
{
|
||||
GetExitCodeProcess(pi.hProcess, &exitCode);
|
||||
if (exitCode != STILL_ACTIVE) {
|
||||
LOG((CLOG_INFO "process %d was shutdown successfully", pi.dwProcessId));
|
||||
// yay, we got a graceful shutdown. there should be no hook in use errors!
|
||||
LOG((CLOG_INFO "process %d was shutdown gracefully", pi.dwProcessId));
|
||||
break;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user