mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
reject client session when session is removed or ended
This commit is contained in:
parent
d295ddda53
commit
10eb64692f
@ -12,6 +12,8 @@ export default class SessionsManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
removeSession = (id) => {
|
removeSession = (id) => {
|
||||||
|
this.sessions[id].reject()
|
||||||
|
|
||||||
delete this.sessions[id]
|
delete this.sessions[id]
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user