diff --git a/Sandboxie/core/svc/ProcessServer.cpp b/Sandboxie/core/svc/ProcessServer.cpp index 05e0291e..154482cf 100644 --- a/Sandboxie/core/svc/ProcessServer.cpp +++ b/Sandboxie/core/svc/ProcessServer.cpp @@ -136,8 +136,8 @@ BOOL ProcessServer::KillProcess(ULONG ProcessId) else { // - // Bevore terminating any process, check if still its a sandboxed process as PID's get reused, - // but not as long as a handle is open, hence chacking after OpenProcess remains valid untill CloseHandle + // Before terminating any process, check if still its a sandboxed process as PID's get reused, + // but not as long as a handle is open, hence checking after OpenProcess remains valid until CloseHandle // // also check if process was marked as critical process // @@ -2219,4 +2219,4 @@ MSG_HEADER *ProcessServer::SuspendAllHandler(MSG_HEADER *msg) HeapFree(GetProcessHeap(), HEAP_GENERATE_EXCEPTIONS, pids); return SHORT_REPLY(STATUS_SUCCESS); -} \ No newline at end of file +}