Fix overlay crash in games that load then unload steam api dll.

This commit is contained in:
Mr_Goldberg 2022-08-07 23:11:21 -04:00
parent e0726f2e9d
commit 7c419e0afe
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
5 changed files with 40 additions and 2 deletions

View file

@ -830,6 +830,11 @@ bool Steam_Client::BShutdownIfAllPipesClosed()
}
steam_controller->Shutdown();
#ifdef EMU_OVERLAY
if(!settings_client->disable_overlay)
steam_overlay->UnSetupOverlay();
#endif
if (joinable) {
background_keepalive.join();
}