Merge pull request #861 from sanimej/bugs
EP lock shouldn't be held when trying for network lock
This commit is contained in:
commit
8f4d7a1cf1
1 changed files with 1 additions and 1 deletions
|
@ -720,8 +720,8 @@ func (ep *endpoint) deleteEndpoint() error {
|
|||
}
|
||||
|
||||
func (ep *endpoint) getSandbox() (*sandbox, bool) {
|
||||
ep.Lock()
|
||||
c := ep.network.getController()
|
||||
ep.Lock()
|
||||
sid := ep.sandboxID
|
||||
ep.Unlock()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue