prevent shared-timer from being destroyed prematurely

This commit is contained in:
obdev
2023-09-12 13:40:23 +00:00
committed by ob-robot
parent d91601fa9a
commit 2df75ff0ac
3 changed files with 15 additions and 2 deletions

View File

@ -2436,7 +2436,7 @@ void ObSharedTimer::mtl_wait(ObSharedTimer *&st)
if (st != NULL) {
int &tg_id = st->tg_id_;
if (tg_id > 0) {
TG_WAIT(tg_id);
TG_WAIT_ONLY(tg_id);
}
}
}