From 8b1762d5168c8b084c565404503d56727002be34 Mon Sep 17 00:00:00 2001 From: WendelHime <6754291+WendelHime@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:41:19 -0300 Subject: [PATCH] fix: make water wasm map --- chained/water_impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chained/water_impl.go b/chained/water_impl.go index bcd2951ca..98b45083a 100644 --- a/chained/water_impl.go +++ b/chained/water_impl.go @@ -35,7 +35,7 @@ var ( // foo.wasm file or read the foo.wasm file on disk. // // Invariant: entries to this map are never overwritten. - waterWASMLocks map[string]*sync.Mutex + waterWASMLocks = make(map[string]*sync.Mutex) // wlLock protects access to the waterWASMLocks map. wlLock = new(sync.Mutex) )