mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
that was the reason for crashing on exit?!
This commit is contained in:
parent
a48637dead
commit
00a9a34aab
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user