diff --git a/src/xrt/state_trackers/gui/gui_ogl.c b/src/xrt/state_trackers/gui/gui_ogl.c index b52091681..51f402af6 100644 --- a/src/xrt/state_trackers/gui/gui_ogl.c +++ b/src/xrt/state_trackers/gui/gui_ogl.c @@ -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