Networking: Attempt a fix for a race condition during Tailscale setup
This commit is contained in:
parent
59740754e8
commit
28f85baf59
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,8 @@ let exitNode = writable(false);
|
|||
|
||||
function loginUrlCb(url)
|
||||
{
|
||||
resolveLogin(url);
|
||||
connectionState.set("LOGINREADY");
|
||||
resolveLogin(url);
|
||||
}
|
||||
|
||||
function stateUpdateCb(state)
|
||||
|
@ -57,7 +58,6 @@ export async function startLogin()
|
|||
connectionState.set("LOGINSTARTING");
|
||||
const url = await loginPromise;
|
||||
networkData.loginUrl = url;
|
||||
connectionState.set("LOGINREADY");
|
||||
return url;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue