mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
fix(server): Unwatch keys during connection close (#2231)
This commit is contained in:
parent
bfb1b3b624
commit
fd3fcdcbb4
3 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue