diff options
| author | Dentomologist <dentomologist@gmail.com> | 2025-04-24 11:36:18 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2025-04-25 15:29:29 -0700 |
| commit | e37a1951926bb5d079e6cd8a65740b87bdafe175 (patch) | |
| tree | 15df4f5050a689a660b3692bc942cb88b60d9e4f /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 805307f432dba079caf7339122a07de5b90c4b47 (diff) | |
MainWindow: Fix use-after-free during shutdown
Remove ConfigChangedCallback in MainWindow's destructor to prevent the
callback from accessing the destroyed MainWindow afterward.
After MainWindow is destroyed UICommon::Shutdown calls
LogManager::Shutdown which ultimately triggers any remaining callbacks.
This resulted in calling MainWindow::OnHardcoreChanged, which crashed in
debug builds and didn't have any obvious effect in release builds.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
0 files changed, 0 insertions, 0 deletions
