From 141374b7c10b82748cbb825595eb08533ae9389f Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 5 Nov 2024 08:35:25 +0800 Subject: [PATCH] :bug: Fix ocr-texts.json unexpected write --- kernel/util/ocr.go | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/util/ocr.go b/kernel/util/ocr.go index 8dadbf402..1233808a1 100644 --- a/kernel/util/ocr.go +++ b/kernel/util/ocr.go @@ -168,7 +168,6 @@ func GetAssetText(asset string) (ret string) { assetsTextsLock.Lock() ret = assetsTexts[asset] assetsTextsLock.Unlock() - assetsTextsChanged.Store(true) return }