mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -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:
@ -28,7 +28,6 @@ public:
|
||||
CLogWindow(CFrame* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL,
|
||||
const wxString& name = _("Log"));
|
||||
~CLogWindow();
|
||||
|
||||
void SaveSettings();
|
||||
void Log(LogTypes::LOG_LEVELS, const char* text) override;
|
||||
@ -63,5 +62,6 @@ private:
|
||||
void OnWrapLineCheck(wxCommandEvent& event);
|
||||
void OnClear(wxCommandEvent& event);
|
||||
void OnLogTimer(wxTimerEvent& WXUNUSED(event));
|
||||
void RemoveAllListeners();
|
||||
void UpdateLog();
|
||||
};
|
||||
|
Reference in New Issue
Block a user