modeld, cleanup visionipc when recovering from fault

old-commit-hash: 8f2858efba4ac7735c5bb237a7e88348ec4c424e
This commit is contained in:
Dean Lee
2020-04-20 04:59:36 +08:00
committed by GitHub
parent a8521fce5b
commit c69b4c17e8
+1
View File
@@ -184,6 +184,7 @@ int main(int argc, char **argv) {
buf = visionstream_get(&stream, &extra);
if (buf == NULL) {
printf("visionstream get failed\n");
visionstream_destroy(&stream);
break;
}