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