Merge pull request #43379 from evol262/overlay2-fix-deadlock
libnetwork/overlay:fix sandbox deadlock
This commit is contained in:
commit
ffd5d2665d
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ func (n *network) joinSandbox(s *subnet, restore bool, incJoinCount bool) error
|
|||
defer func() {
|
||||
n.Unlock()
|
||||
if doInitPeerDB {
|
||||
n.driver.initSandboxPeerDB(n.id)
|
||||
go n.driver.initSandboxPeerDB(n.id)
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue