mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 16:46:28 +00:00
[c-host] dxgi: close the desktop on deinit
This commit is contained in:
parent
d3836d4548
commit
7018a3e737
@ -612,6 +612,13 @@ static bool dxgi_deinit()
|
|||||||
}
|
}
|
||||||
|
|
||||||
LG_LOCK_FREE(this->deviceContextLock);
|
LG_LOCK_FREE(this->deviceContextLock);
|
||||||
|
|
||||||
|
if (this->desktop)
|
||||||
|
{
|
||||||
|
CloseDesktop(this->desktop);
|
||||||
|
this->desktop = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
this->initialized = false;
|
this->initialized = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1475,7 +1475,7 @@ static int lg_run()
|
|||||||
if (!lgmpClientSessionValid(state.lgmp))
|
if (!lgmpClientSessionValid(state.lgmp))
|
||||||
{
|
{
|
||||||
DEBUG_WARN("Session is invalid, has the host shutdown?");
|
DEBUG_WARN("Session is invalid, has the host shutdown?");
|
||||||
break;
|
// break;
|
||||||
}
|
}
|
||||||
|
|
||||||
(void)closeAlert;
|
(void)closeAlert;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user