FIX:crash when close preference

JIRA: STUDIO-4340

Change-Id: I95b1c77720bf1264ca70f2fa3652e814d8f20e53
This commit is contained in:
Kunlong Ma
2023-09-06 09:41:13 +08:00
committed by Lane.Wei
parent 04ce14ca90
commit 378a0a9d75
3 changed files with 3 additions and 5 deletions

View File

@@ -851,7 +851,7 @@ PreferencesDialog::PreferencesDialog(wxWindow *parent, wxWindowID id, const wxSt
agent->track_event("preferences_changed", j.dump());
}
} catch(...) {}
Destroy();
event.Skip();
});
}