(fix): mtp double connections
Some checks failed
/ release (push) Has been cancelled
/ build-web (push) Has been cancelled
/ build-desktop (linux) (push) Has been cancelled
/ build-mobile (push) Has been cancelled

This commit is contained in:
Alois 2026-07-25 23:05:04 +02:00
commit cfabda5d28
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
3 changed files with 2 additions and 6 deletions

View file

@ -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">