d/dai: Document work around

This commit is contained in:
Jakob Bornecrantz 2021-12-03 23:30:45 +00:00 committed by Jakob Bornecrantz
parent 775d82d728
commit 59a09abf6a

View file

@ -338,7 +338,9 @@ depthai_destroy(struct depthai_fs *depthai)
os_thread_helper_destroy(&depthai->play_thread);
// To work around use after free issue detected by ASan, v2.13.3 has this bug.
depthai->queue->close();
delete depthai->device;
free(depthai);