-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: vision crash when computer awake from sleep (and for some reason…
… get weird screen capture size)
- Loading branch information
1 parent
e29b224
commit 417a499
Showing
2 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
417a499
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@m13v i was not so familiar with error handling in rust until now, we should start being more careful on error handling, basically ".expect" crash the function and parent, which was ending the recording loop (i made same mistake in the audio recording, fixed)
the error was just some random things when computer was sleeping for long time and reawake