mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-13 04:24:15 +00:00
reject client session when session is removed or ended
This commit is contained in:
parent
b99737a56b
commit
0a89d1a5a7
@ -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