good morning!!!!

Skip to content
Snippets Groups Projects
Commit 8dce4c28 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #14379 from farazdagi/fix/deadlock-in-node-wait

node: fixes deadlock on Wait()
parents fff16169 5f7eb789
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment