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