Remove app pacer from debug GUI on destruction

This commit is contained in:
Patrick Nicolas
2026-05-08 16:23:35 +02:00
parent 6dfe43e0b6
commit b5226f0480
+5
View File
@@ -90,6 +90,11 @@ public:
u_var_add_draggable_f32(this, &min_margin_ms, "Minimum margin(ms)");
}
~app_pacer()
{
u_var_remove_root(this);
}
void predict(int64_t now_ns,
int64_t * out_frame_id,
int64_t * out_wake_up_time,