mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-11 16:17:31 +02:00
ResetKeys on ClearHost.
This commit is contained in:
parent
964588b328
commit
b7103ca809
3 changed files with 6 additions and 1 deletions
|
@ -32,6 +32,7 @@ func (h *MessageHandlerCtx) SessionConnected(session types.Session) error {
|
|||
func (h *MessageHandlerCtx) SessionDisconnected(session types.Session) error {
|
||||
// clear host if exists
|
||||
if session.IsHost() {
|
||||
h.desktop.ResetKeys()
|
||||
h.sessions.ClearHost()
|
||||
|
||||
h.sessions.Broadcast(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue