Browse Source

:bug: Fix ocr-texts.json unexpected write

Daniel 7 tháng trước cách đây
mục cha
commit
141374b7c1
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      kernel/util/ocr.go

+ 0 - 1
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
 }