[#1770] node: Do not lock on shard's Close call

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-09-30 17:01:48 +03:00 committed by fyrchik
parent ab3ef7110e
commit 8ebe95747e
3 changed files with 21 additions and 15 deletions

View file

@ -32,7 +32,7 @@ func TestRemoveShard(t *testing.T) {
for id, remove := range mSh {
if remove {
require.NoError(t, e.removeShards(id))
e.removeShards(id)
}
}