mirror of
https://gitlab.com/jusax23/dnc.git
synced 2024-11-22 06:36:40 +01:00
.catch
This commit is contained in:
parent
efc9ec9e29
commit
5a60d781ef
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ export const shutdown = function(){
|
||||||
a.then(()=>{
|
a.then(()=>{
|
||||||
running--;
|
running--;
|
||||||
mayShutdown();
|
mayShutdown();
|
||||||
|
}).catch(()=>{
|
||||||
|
running--;
|
||||||
|
mayShutdown();
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
running--;
|
running--;
|
||||||
|
|
Loading…
Reference in a new issue