[CP] adjust tablet pointer reset order to avoid memory access violation

This commit is contained in:
hiddenbomb
2023-11-28 12:42:18 +00:00
committed by ob-robot
parent b88aa90bd2
commit df4375fa1b
13 changed files with 128 additions and 73 deletions

View File

@ -143,7 +143,7 @@ protected:
}
virtual void TearDown() override
{
ctx_mt_mgr_->reset();
ctx_mt_mgr_->destroy();
ls_tx_ctx_mgr_.reset();
delete mt_mgr_;
mt_mgr_ = NULL;