Merge pull request #43379 from evol262/overlay2-fix-deadlock
libnetwork/overlay:fix sandbox deadlock
This commit is contained in:
commit
ffd5d2665d
|
@ -319,7 +319,7 @@ func (n *network) joinSandbox(s *subnet, restore bool, incJoinCount bool) error
|
||||||
defer func() {
|
defer func() {
|
||||||
n.Unlock()
|
n.Unlock()
|
||||||
if doInitPeerDB {
|
if doInitPeerDB {
|
||||||
n.driver.initSandboxPeerDB(n.id)
|
go n.driver.initSandboxPeerDB(n.id)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue