[BUG.FIX] fix sstable pool error when the observer is killed.

This commit is contained in:
Tyshawn
2023-01-11 11:38:18 +00:00
committed by ob-robot
parent 5535159a2d
commit f4f9ee1eb9
3 changed files with 7 additions and 4 deletions

View File

@ -140,7 +140,7 @@ protected:
mt_mgr_ = NULL;
ctx_mt_mgr_ = NULL;
ASSERT_EQ(1, ref_count_);
ASSERT_EQ(0, ref_count_);
tenant_base_.destroy();
ObTenantEnv::set_tenant(nullptr);