mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
Fix crashes when wxWidgets tries to free stack allocated dialogs (#377)
This commit is contained in:
@@ -763,7 +763,6 @@ void MainWindow::OpenSettings()
|
||||
frame.ShowModal();
|
||||
const bool paths_modified = frame.ShouldReloadGamelist();
|
||||
const bool mlc_modified = frame.MLCModified();
|
||||
frame.Destroy();
|
||||
|
||||
if (paths_modified)
|
||||
m_game_list->ReloadGameEntries(false);
|
||||
@@ -1722,7 +1721,6 @@ void MainWindow::OnTimer(wxTimerEvent& event)
|
||||
{
|
||||
CemuUpdateWindow update_window(this);
|
||||
update_window.ShowModal();
|
||||
update_window.Destroy();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1999,7 +1997,6 @@ void MainWindow::OnHelpUpdate(wxCommandEvent& event)
|
||||
{
|
||||
CemuUpdateWindow test(this);
|
||||
test.ShowModal();
|
||||
test.Destroy();
|
||||
}
|
||||
|
||||
void MainWindow::OnHelpGettingStarted(wxCommandEvent& event)
|
||||
|
||||
Reference in New Issue
Block a user