fix: improve processor close order
This commit is contained in:
parent
f744fa06d5
commit
a5b337b50f
|
@ -86,6 +86,7 @@ Synthetic::Synthetic(API *api, CalibrationModel calib_model)
|
||||||
|
|
||||||
Synthetic::~Synthetic() {
|
Synthetic::~Synthetic() {
|
||||||
VLOG(2) << __func__;
|
VLOG(2) << __func__;
|
||||||
|
processors_.clear();
|
||||||
if (processor_) {
|
if (processor_) {
|
||||||
processor_->Deactivate(true);
|
processor_->Deactivate(true);
|
||||||
processor_ = nullptr;
|
processor_ = nullptr;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user