Skip to content

Conversation

@Cybis320
Copy link
Contributor

When releasing resources after a camera disconnect, there was a potential double-free error caused by manually calling unref() on the GStreamer pipeline while Python's garbage collector also attempts to release it. This PR removes the manual unref() and relies on Python GC only.

Additionally, when the watchdog restarts BufferedCapture after a crash or hang, in standard mode the remaining capture duration was not recomputed - capture would restart for the full night duration instead of just the remainder. This PR recomputes the remaining time until sunrise after a restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants