Commit e24d9bd8 by CaIon

fix: update cacheRatioMap initialization in InitModelSettings function

parent f4dcf8d6
...@@ -278,7 +278,7 @@ func InitModelSettings() { ...@@ -278,7 +278,7 @@ func InitModelSettings() {
// Initialize cacheRatioMap // Initialize cacheRatioMap
cacheRatioMapMutex.Lock() cacheRatioMapMutex.Lock()
cacheRatioMap = defaultCreateCacheRatio cacheRatioMap = defaultCacheRatio
cacheRatioMapMutex.Unlock() cacheRatioMapMutex.Unlock()
// initialize imageRatioMap // initialize imageRatioMap
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment