From eabe939547bf3d377d841e73edbd92249acdccbb Mon Sep 17 00:00:00 2001 From: kalimag Date: Mon, 3 Jun 2024 18:34:20 +0200 Subject: [PATCH] Skip `AskSaveChanges` in disposed `TAStudio`, fix #3499 --- src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs index 39cfc1317d..75784f59d7 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs @@ -127,7 +127,7 @@ namespace BizHawk.Client.EmuHawk /// public override bool AskSaveChanges() { - if (_suppressAskSave) + if (_suppressAskSave || IsDisposed) { return true; }