Merge pull request #399 from thecodingmachine/fix/cowebsite
FIX: close the coWebSite on network error
This commit is contained in:
commit
a14e227706
@ -57,7 +57,7 @@ class CoWebsiteManager {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.fire();
|
this.fire();
|
||||||
}, animationTime)
|
}, animationTime)
|
||||||
});
|
}).catch(() => this.closeCoWebsite());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -70,7 +70,7 @@ class CoWebsiteManager {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.fire();
|
this.fire();
|
||||||
}, animationTime)
|
}, animationTime)
|
||||||
});
|
}).catch(() => this.closeCoWebsite());
|
||||||
}
|
}
|
||||||
|
|
||||||
public closeCoWebsite(): Promise<void> {
|
public closeCoWebsite(): Promise<void> {
|
||||||
|
Loading…
Reference in New Issue
Block a user