that was the reason for crashing on exit?!

This commit is contained in:
otavepto 2024-06-20 01:24:06 +03:00
parent a48637dead
commit 00a9a34aab

View File

@ -1841,6 +1841,9 @@ void Steam_Overlay::UnSetupOverlay()
}
}
// manually calling this dtor looks bad, but it actually prevents a lot of crashes on exit, don't remove it!
// many DX12 games will crash on exit if the hook wasn't manually removed (ex appid 2933080, 1583230)
_renderer->~RendererHook_t();
_renderer = nullptr;
}