-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure to cancel buffer restart timer #128
Comments
Ahaa! Right before we start recording:
We have somehow ended up with more than 1 restart timer -- it's been leaked! Notice how timers are more frequent than each 5min. |
Pretty sure the bug is in this series of events:
|
Propose we guard against ever having multiple buffers. That's a state we should never be in. There is still an issue here that we called start recording buffer twice in succession. That's a logutils bug. |
Describe the bug
See title. User did a M+. Following is in logs:
Notice the ordering:
23:41:33 - Buffer restarts as expected.
23:41:43 - Cancel buffer restart on M+ start.
23:46:33 - Buffer restarts exactly 5 mins later -- clearly it didn't get cancelled.
The restart proceeds to continue throughout the dungeon, obviously giving the wrong size of video at the end.
Expected behavior
Buffer is cancelled as expected. Video is expected size.
Screenshots
https://i.imgur.com/hYkRd39.png
The text was updated successfully, but these errors were encountered: