Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
catdad committed May 27, 2024
1 parent d3b16d2 commit 266f06b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion renderer/Capture/Capture.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ function Capture() {
Promise.all([
videoTools.stopCurrent(),
keyboard.remove(captureStop.value)
]).catch(e => {}).finally(() => {
]).catch(e => {
console.log('failed to stop capture correctly:', e);
}).finally(() => {
exitCapture();
});
};
Expand Down

0 comments on commit 266f06b

Please sign in to comment.