Remove RDMA context FD handlers during msgr destroy

This commit is contained in:
Vitaliy Filippov
2025-11-08 14:11:03 +03:00
parent 15eef27d44
commit 65872f5d0e
+1
View File
@@ -276,6 +276,7 @@ osd_messenger_t::~osd_messenger_t()
#ifdef WITH_RDMA
for (auto rdma_context: rdma_contexts)
{
tfd->set_fd_handler(rdma_context->channel->fd, false, NULL);
delete rdma_context;
}
rdma_contexts.clear();