fix(server): Unwatch keys during connection close (#2231)

This commit is contained in:
Vladislav 2023-11-30 12:56:59 +03:00 committed by GitHub
parent bfb1b3b624
commit fd3fcdcbb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -2352,6 +2352,8 @@ void Service::OnClose(facade::ConnectionContext* cntx) {
DCHECK(!conn_state.subscribe_info);
}
UnwatchAllKeys(server_cntx);
DeactivateMonitoring(server_cntx);
server_family_.OnClose(server_cntx);