catch exit error
This commit is contained in:
parent
0ab43d01d7
commit
846285c136
@ -178,7 +178,11 @@ module.exports = (_options = {}) => {
|
||||
throw NO_LOAD;
|
||||
} else {
|
||||
running = false;
|
||||
Core.exit(1);
|
||||
try {
|
||||
Core.exit(1);
|
||||
} catch(e) {
|
||||
console.log('catch core exit error', e);
|
||||
}
|
||||
Core = null;
|
||||
ffmpeg = null;
|
||||
runResolve = null;
|
||||
|
Loading…
Reference in New Issue
Block a user