From b44900e44427c3828185c690f914e62efba3f572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=89=E5=90=89=E5=96=B5?= Date: Wed, 28 Jan 2026 15:45:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddispose=20is=20not=20a=20func?= =?UTF-8?q?tion=20(#2801)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/模板匹配区域坐标输出/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/js/模板匹配区域坐标输出/main.js b/repo/js/模板匹配区域坐标输出/main.js index 02f4d4977..ce25d4ad5 100644 --- a/repo/js/模板匹配区域坐标输出/main.js +++ b/repo/js/模板匹配区域坐标输出/main.js @@ -86,7 +86,7 @@ async function drawAndClearRedBox(result, delay) { ro2.dispose(); drawRegion2.dispose(); // 释放对象 } - drawRegion.dispose(); + drawRegion = null; // 释放对象 } // 主函数 (async function () {