mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix handle close issue
This commit is contained in:
parent
d77993e215
commit
4cf66362af
1 changed files with 5 additions and 0 deletions
|
|
@ -929,6 +929,11 @@ retry:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pi.hProcess != HANDLE.Null) PInvoke.CloseHandle(pi.hProcess);
|
||||||
|
if (pi.hThread != HANDLE.Null) PInvoke.CloseHandle(pi.hThread);
|
||||||
|
if (hShellProcessToken != HANDLE.Null) PInvoke.CloseHandle(hShellProcessToken);
|
||||||
|
if (hPrimaryToken != HANDLE.Null) PInvoke.CloseHandle(hPrimaryToken);
|
||||||
|
if (hShellProcess != HANDLE.Null) PInvoke.CloseHandle(hShellProcess);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue