Close connection on client drop #674

Merged
fyrchik merged 2 commits from fyrchik/frostfs-node:fix-connection into master 2024-09-04 19:51:03 +00:00
2 changed files with 2 additions and 1 deletions

View file

@ -26,7 +26,7 @@ repos:
exclude: ".key$" exclude: ".key$"
- repo: https://github.com/shellcheck-py/shellcheck-py - repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.2 rev: v0.9.0.5
hooks: hooks:
- id: shellcheck - id: shellcheck

View file

@ -130,6 +130,7 @@ loop:
continue loop continue loop
} }
} }
x.clients[a].invalidate()
delete(x.clients, a) delete(x.clients, a)
} }