This commit is contained in:
parent
987efc4355
commit
5bdb6500eb
|
|
@ -162,6 +162,8 @@ export const onInvoke = async (str: string, data: any) => {
|
||||||
}
|
}
|
||||||
export const onStop = async () => {
|
export const onStop = async () => {
|
||||||
if (connection) {
|
if (connection) {
|
||||||
|
connection.off('Invitation');
|
||||||
|
connection.off('ForceLogout');
|
||||||
connection.stop()
|
connection.stop()
|
||||||
connection = ""
|
connection = ""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue