From 481d6ac905c8d297ac1fd5bf9e8588d5ee11dc91 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 15 Nov 2026 14:21:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Free=20the=20edit=20target=20lis?= =?UTF-8?q?t=20when=20an=20edit=20action=20fails=20mid-way?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/UfrmMain.pas | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Client/UfrmMain.pas b/Client/UfrmMain.pas index d784644..feeeebe 100644 --- a/Client/UfrmMain.pas +++ b/Client/UfrmMain.pas @@ -801,6 +801,7 @@ begin (not frmMoveSettings.cbAsk.Checked) or ConfirmAction then begin targetBlocks := TBlockInfoList.Create; + try if SelectedTile = targetTile then begin blockInfo := nil; @@ -901,7 +902,9 @@ begin end; end; - targetBlocks.Free; + finally + targetBlocks.Free; + end; end; end; end;