Skip to content

Commit

Permalink
modeld, cleanup visionipc when recovering from fault
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee authored Apr 19, 2020
1 parent 69b35d5 commit 8f2858e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfdrive/modeld/modeld.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8f2858e

Please sign in to comment.