mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
Move LogWindow/LogConfigWindow destructor logic -> OnClose
Fixes the issue on macOS where quitting Dolphin from the Dock causes a crash report (https://bugs.dolphin-emu.org/issues/9794). I'm not exactly sure why this works, but it feels right and it turns out to fix the problem.
This commit is contained in:
@ -15,7 +15,6 @@ class LogConfigWindow : public wxPanel
|
||||
{
|
||||
public:
|
||||
LogConfigWindow(wxWindow* parent, wxWindowID id = wxID_ANY);
|
||||
~LogConfigWindow();
|
||||
|
||||
void SaveSettings();
|
||||
void LoadSettings();
|
||||
@ -32,6 +31,7 @@ private:
|
||||
|
||||
void CreateGUIControls();
|
||||
void OnVerbosityChange(wxCommandEvent& event);
|
||||
void OnClose(wxCloseEvent& event);
|
||||
void OnWriteFileChecked(wxCommandEvent& event);
|
||||
void OnWriteConsoleChecked(wxCommandEvent& event);
|
||||
void OnWriteWindowChecked(wxCommandEvent& event);
|
||||
|
Reference in New Issue
Block a user