From b03f3a53a80c8dc4fca055a140102453c76aa451 Mon Sep 17 00:00:00 2001 From: nightnai Date: Sun, 6 Sep 2026 22:34:34 +0800 Subject: [PATCH] fix: GetMaster mutex unlock --- master/master.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/master.go b/master/master.go index 4426fc2..6355434 100644 --- a/master/master.go +++ b/master/master.go @@ -18,8 +18,8 @@ var ( func GetMaster() map[string]any { mu.RLock() - defer mu.RUnlock() if cache != nil { + mu.RUnlock() return cache } mu.RUnlock()