We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exit
1 parent 2d6fae8 commit 115a7c8Copy full SHA for 115a7c8
src/createFFmpeg.js
@@ -178,10 +178,15 @@ module.exports = (_options = {}) => {
178
throw NO_LOAD;
179
} else {
180
running = false;
181
- Core.exit(1);
182
- Core = null;
183
- ffmpeg = null;
184
- runResolve = null;
+ try {
+ Core.exit(1);
+ } catch (e) {
+ log(e.message);
185
+ } finally {
186
+ Core = null;
187
+ ffmpeg = null;
188
+ runResolve = null;
189
+ }
190
}
191
};
192
0 commit comments