summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.go b/server.go
index d52c0b54..52cc7349 100644
--- a/server.go
+++ b/server.go
@@ -60,6 +60,7 @@ func (srv *Server) Reconfigure(cfg *ServerConfig) error {
srv.mu.Lock()
if !srv.started {
srv.cfg = cfg
+ srv.mu.Unlock()
return nil
}
srv.mu.Unlock()