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 () => {
|
||||
if (connection) {
|
||||
connection.off('Invitation');
|
||||
connection.off('ForceLogout');
|
||||
connection.stop()
|
||||
connection = ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue