diff --git a/src/xrt/drivers/depthai/depthai_driver.cpp b/src/xrt/drivers/depthai/depthai_driver.cpp index 5468a3ffb..c58e6882d 100644 --- a/src/xrt/drivers/depthai/depthai_driver.cpp +++ b/src/xrt/drivers/depthai/depthai_driver.cpp @@ -338,6 +338,7 @@ depthai_destroy(struct depthai_fs *depthai) os_thread_helper_destroy(&depthai->play_thread); + depthai->queue->close(); delete depthai->device; free(depthai);