Networking: Attempt a fix for a race condition during Tailscale setup
This commit is contained in:
parent
59740754e8
commit
28f85baf59
@ -19,6 +19,7 @@ let exitNode = writable(false);
|
||||
|
||||
function loginUrlCb(url)
|
||||
{
|
||||
connectionState.set("LOGINREADY");
|
||||
resolveLogin(url);
|
||||
}
|
||||
|
||||
@ -57,7 +58,6 @@ export async function startLogin()
|
||||
connectionState.set("LOGINSTARTING");
|
||||
const url = await loginPromise;
|
||||
networkData.loginUrl = url;
|
||||
connectionState.set("LOGINREADY");
|
||||
return url;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user