remove duplicate calls to visionstream_destroy (#1843)

old-commit-hash: 3754ddf9ba
commatwo_master
Dean Lee 5 years ago committed by GitHub
parent 9c33f51990
commit 7f84cb0e3f
  1. 1
      selfdrive/loggerd/loggerd.cc

@ -162,7 +162,6 @@ void encoder_thread(bool is_streaming, bool raw_clips, bool front) {
VIPCBuf* buf = visionstream_get(&stream, &extra); VIPCBuf* buf = visionstream_get(&stream, &extra);
if (buf == NULL) { if (buf == NULL) {
LOG("visionstream get failed"); LOG("visionstream get failed");
visionstream_destroy(&stream);
break; break;
} }

Loading…
Cancel
Save