remove duplicate calls to visionstream_destroy (#1843)

pull/1847/head
Dean Lee 5 years ago committed by GitHub
parent 11fbe85c14
commit 3754ddf9ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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);
if (buf == NULL) {
LOG("visionstream get failed");
visionstream_destroy(&stream);
break;
}

Loading…
Cancel
Save