mirror of
https://github.com/rancher/dynamiclistener.git
synced 2025-06-24 13:51:34 +00:00
Wrong lock used to protect conn map
This commit is contained in:
parent
5276ad483a
commit
bd73d0d4bc
@ -237,8 +237,8 @@ func (c *closeWrapper) close() error {
|
||||
}
|
||||
|
||||
func (c *closeWrapper) Close() error {
|
||||
c.l.Lock()
|
||||
defer c.l.Unlock()
|
||||
c.l.connLock.Lock()
|
||||
defer c.l.connLock.Unlock()
|
||||
return c.close()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user