mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 04:08:01 -05:00
fix: make Init in libdecompressor thread safe (#724)
This commit is contained in:
@@ -25,7 +25,9 @@ var (
|
||||
//
|
||||
//export Init
|
||||
func Init() {
|
||||
lock.Lock()
|
||||
dictStore = dictionary.NewStore()
|
||||
lock.Unlock()
|
||||
}
|
||||
|
||||
// LoadDictionaries loads a number of dictionaries into the decompressor
|
||||
|
||||
Reference in New Issue
Block a user