mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
d/dai: Explicitly close queue to avoid use after free errors from asan
This commit is contained in:
parent
6f22d4d819
commit
be9a91fd12
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue