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.
2 parents d8cd12f + a13b2b9 commit 5b1f827Copy full SHA for 5b1f827
src/createFFmpeg.js
@@ -180,12 +180,14 @@ module.exports = (_options = {}) => {
180
running = false;
181
try {
182
Core.exit(1);
183
- } catch(e) {
184
- console.log('catch core exit error', e);
+ } catch (e) {
+ log(e.message);
185
+ } finally {
186
+ Core = null;
187
+ ffmpeg = null;
188
+ runResolve = null;
189
}
- Core = null;
- ffmpeg = null;
- runResolve = null;
190
+
191
192
};
193
0 commit comments