♻️ Plugin existence by plugin.json and cleanup persisted info (#17162)

This commit is contained in:
Jeffrey Chen 2026-03-08 18:29:15 +08:00 committed by GitHub
parent 82e552aafc
commit 2e8f6511e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 20 deletions

View file

@ -190,7 +190,7 @@ func loadBazaarInfo() (ret *BazaarInfo) {
return
}
// saveBazaarInfo 保存集市持久化信息(调用者需持有写锁)
// saveBazaarInfo 保存集市持久化信息(调用者需持有 bazaarInfoCacheLock 写锁)
func saveBazaarInfo() {
infoPath := filepath.Join(util.DataDir, "storage", "bazaar.json")