[*] Missed close handle / rushed sharing

This commit is contained in:
Reece Wilson 2024-01-04 21:37:56 +00:00
parent 72a3513a04
commit 3090fa3996

View File

@ -100,9 +100,12 @@ namespace Aurora::IO::NT
FALSE, FALSE,
DUPLICATE_SAME_ACCESS)) DUPLICATE_SAME_ACCESS))
{ {
AuWin32CloseHandle(hProcess);
SysPushErrorIO("IO HANDLE Server Error"); SysPushErrorIO("IO HANDLE Server Error");
break; break;
} }
AuWin32CloseHandle(hProcess);
} }
bSuccess = WriteFile(hPipe, bSuccess = WriteFile(hPipe,