From a5b337b50f7a920d4ff84d19c9b427dcbc2785dc Mon Sep 17 00:00:00 2001 From: TinyOh Date: Sat, 2 Mar 2019 10:31:15 +0800 Subject: [PATCH] fix: improve processor close order --- src/mynteye/api/synthetic.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mynteye/api/synthetic.cc b/src/mynteye/api/synthetic.cc index 26c8947..d5d9dbe 100644 --- a/src/mynteye/api/synthetic.cc +++ b/src/mynteye/api/synthetic.cc @@ -86,6 +86,7 @@ Synthetic::Synthetic(API *api, CalibrationModel calib_model) Synthetic::~Synthetic() { VLOG(2) << __func__; + processors_.clear(); if (processor_) { processor_->Deactivate(true); processor_ = nullptr;