Merge pull request #399 from thecodingmachine/fix/cowebsite

FIX: close the coWebSite on network error
This commit is contained in:
David Négrier
2020-11-09 11:27:52 +01:00
committed by GitHub
+2 -2
View File
@@ -57,7 +57,7 @@ class CoWebsiteManager {
setTimeout(() => {
this.fire();
}, animationTime)
});
}).catch(() => this.closeCoWebsite());
}
/**
@@ -70,7 +70,7 @@ class CoWebsiteManager {
setTimeout(() => {
this.fire();
}, animationTime)
});
}).catch(() => this.closeCoWebsite());
}
public closeCoWebsite(): Promise<void> {