mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-24 12:38:10 +00:00
[host] service: disable handle inheritance when spawning host
We don't actually have any handles that should be inherited, so specifying TRUE for bInheritHandles to CreateProcessAsUserA is pointless. Furthermore, according to MSDN, "[y]ou cannot inherit handles across sessions," and we are spawning the host in a different session, so this is even more pointless.
This commit is contained in:
parent
2afad4e1be
commit
93d97424df
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ void Launch(void)
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
TRUE,
|
FALSE,
|
||||||
flags,
|
flags,
|
||||||
NULL,
|
NULL,
|
||||||
os_getDataPath(),
|
os_getDataPath(),
|
||||||
|
|
Loading…
Reference in a new issue