Merge pull request #274 from swaylq/master

Fix ``exit`` method bug
This commit is contained in:
jeromewu
2022-08-14 18:29:18 +08:00
committed by GitHub

View File

@@ -181,12 +181,14 @@ module.exports = (_options = {}) => {
try {
Core.exit(1);
} catch (e) {
console.log('catch core exit error', e);
}
log(e.message);
} finally {
Core = null;
ffmpeg = null;
runResolve = null;
}
}
};
const setProgress = (_progress) => {