diff --git a/VERSION b/VERSION index fdcb6fa2..3da79705 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-167-gdbd7db7787+1 \ No newline at end of file +B1-168-gd3836d4548+1 \ No newline at end of file diff --git a/c-host/platform/Windows/capture/DXGI/src/dxgi.c b/c-host/platform/Windows/capture/DXGI/src/dxgi.c index 2ac62271..3930348b 100644 --- a/c-host/platform/Windows/capture/DXGI/src/dxgi.c +++ b/c-host/platform/Windows/capture/DXGI/src/dxgi.c @@ -612,6 +612,13 @@ static bool dxgi_deinit() } LG_LOCK_FREE(this->deviceContextLock); + + if (this->desktop) + { + CloseDesktop(this->desktop); + this->desktop = NULL; + } + this->initialized = false; return true; } diff --git a/client/src/main.c b/client/src/main.c index bf0d7b59..24cb8879 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1475,7 +1475,7 @@ static int lg_run() if (!lgmpClientSessionValid(state.lgmp)) { DEBUG_WARN("Session is invalid, has the host shutdown?"); - break; + // break; } (void)closeAlert;