Merge pull request #1234 from mrjana/overlay
Fix panic if miss notification sock is nil
This commit is contained in:
commit
bc147ce99d
1 changed files with 4 additions and 1 deletions
|
@ -510,7 +510,10 @@ func (n *network) initSandbox() error {
|
|||
}
|
||||
})
|
||||
|
||||
go n.watchMiss(nlSock)
|
||||
if nlSock != nil {
|
||||
go n.watchMiss(nlSock)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue