Close connection on client drop #674
2 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@ repos:
|
|||
exclude: ".key$"
|
||||
|
||||
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||
rev: v0.9.0.2
|
||||
rev: v0.9.0.5
|
||||
hooks:
|
||||
- id: shellcheck
|
||||
|
||||
|
|
1
pkg/network/cache/multi.go
vendored
1
pkg/network/cache/multi.go
vendored
|
@ -130,6 +130,7 @@ loop:
|
|||
continue loop
|
||||
}
|
||||
}
|
||||
x.clients[a].invalidate()
|
||||
delete(x.clients, a)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue