modeld, cleanup visionipc when recovering from fault

This commit is contained in:
Dean Lee
2020-04-20 04:59:36 +08:00
committed by GitHub
parent 69b35d53b8
commit 8f2858efba
+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;
}