The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/wmr: Tidy variable tracking

+7
+7
src/xrt/drivers/wmr/wmr_camera.c
··· 269 269 void 270 270 wmr_camera_free(struct wmr_camera *cam) 271 271 { 272 + // Stop the camera. 272 273 wmr_camera_stop(cam); 274 + 275 + // Tidy the variable tracking. 276 + u_var_remove_root(cam); 277 + u_sink_debug_destroy(&cam->debug_sinks[0]); 278 + u_sink_debug_destroy(&cam->debug_sinks[1]); 279 + 273 280 274 281 if (cam->ctx != NULL) { 275 282 int i;