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

This commit is contained in:
hiddenbomb
2024-02-07 03:55:35 +00:00
committed by ob-robot
parent 6421f310e9
commit c10dd2cdd4
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;