mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +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
@ -312,7 +312,7 @@ void Launch(void)
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
TRUE,
|
||||
FALSE,
|
||||
flags,
|
||||
NULL,
|
||||
os_getDataPath(),
|
||||
|
Loading…
Reference in New Issue
Block a user