diff options
Diffstat (limited to 'node')
-rw-r--r-- | node/node.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/node.go b/node/node.go index dc2ff0701..a372b1c25 100644 --- a/node/node.go +++ b/node/node.go @@ -536,6 +536,7 @@ func (n *Node) Stop() error { func (n *Node) Wait() { n.lock.RLock() if n.server == nil { + n.lock.RUnlock() return } stop := n.stop |