Fix race conditions
This commit is contained in:
parent
aa0351fb2d
commit
b24b36adec
7 changed files with 219 additions and 130 deletions
|
|
@ -86,7 +86,6 @@
|
|||
async function start() {
|
||||
updateLoadingStatus("loading.loading");
|
||||
try {
|
||||
gotoHome();
|
||||
if (host != null)
|
||||
{
|
||||
await updateProtocolAndUrl(host);
|
||||
|
|
@ -109,6 +108,7 @@
|
|||
//if fails continue loading encryption may be broken
|
||||
console.error(e);
|
||||
}
|
||||
gotoHome();
|
||||
} else {
|
||||
showBlahNotification("error:auth.failed.redirect.to.login");
|
||||
await delay(2000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue