fix kill 15 issues

This commit is contained in:
zhjc1124
2023-05-11 08:52:56 +00:00
committed by ob-robot
parent 635cd39eda
commit 95dc4939b6
5 changed files with 17 additions and 0 deletions

View File

@ -746,6 +746,9 @@ public:
while (cur != head) {
ObSqlSock* s = CONTAINER_OF(cur, ObSqlSock, all_list_link_);
cur = cur->next_;
s->on_disconnect();
ObSqlSockSession *sess = (ObSqlSockSession *)s->sess_;
sess->destroy();
s->do_close();
}
}