mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
st/gui: Make sure to unreference any frames pending for upload
This commit is contained in:
parent
36a8f949d5
commit
8225539178
|
@ -61,6 +61,9 @@ break_apart(struct xrt_frame_node *node)
|
|||
pthread_mutex_lock(&s->mutex);
|
||||
s->running = false;
|
||||
pthread_mutex_unlock(&s->mutex);
|
||||
|
||||
// Release any frame waiting for upload.
|
||||
xrt_frame_reference(&s->frame, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue