mirror of
https://gitlab.com/jusax23/dnc.git
synced 2024-11-22 06:36:40 +01:00
bug fix
This commit is contained in:
parent
8c3d55dec1
commit
67fdc60026
1 changed files with 8 additions and 10 deletions
|
@ -67,7 +67,6 @@ const manager = function(process){
|
|||
});
|
||||
};
|
||||
t.saveShutdown = function(){
|
||||
return new Promise((res,rej)=>{
|
||||
t.shutdown().then(() => {
|
||||
setTimeout(function() { //some save time
|
||||
process.exit();
|
||||
|
@ -77,7 +76,6 @@ const manager = function(process){
|
|||
process.exit();
|
||||
}, 10000);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
export default manager;
|
||||
|
|
Loading…
Reference in a new issue