[UI]: fix ASAN errors

This commit is contained in:
oltolm
2025-12-18 10:15:19 +01:00
committed by Radosław Gliński
parent 925c59790f
commit d78bc3a789
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -703,7 +703,8 @@ void EmulatorWindow::XMPConfigDialog::OnDraw(ImGuiIO& io) {
ImGui::End();
if (!dialog_open) {
emulator_window_.ToggleXMPConfigDialog();
Close();
emulator_window_.xmp_config_dialog_.release();
return;
}
}
+1 -1
View File
@@ -29,7 +29,7 @@ void NoProfileDialog::OnDraw(ImGuiIO& io) {
->profile_manager();
if (profile_manager->GetAccountCount()) {
delete this;
Close();
return;
}