(fix): mtp double connections
This commit is contained in:
parent
25c7ee7c26
commit
cfabda5d28
3 changed files with 2 additions and 6 deletions
|
|
@ -403,12 +403,6 @@ export function Provider(props: {
|
|||
|
||||
clientRef.current = client;
|
||||
setReadyState(client.state);
|
||||
await client.connect();
|
||||
|
||||
if (disposed) {
|
||||
client.disconnect();
|
||||
return;
|
||||
}
|
||||
|
||||
const authPayload = new Promise<
|
||||
ProtocolMessage<"IdentificationResponse">
|
||||
|
|
|
|||
Loading…
Reference in a new issue