Merge pull request #17079 from joscollin/wip-use-after-free

msg: drop the unnecessary polling_stop()

Reviewed-by: Haomai Wang <haomai@xsky.com>
This commit is contained in:
Yuri Weinstein 2017-08-22 13:17:48 -07:00 committed by GitHub
commit 294dec300c

View File

@ -547,8 +547,6 @@ RDMAStack::~RDMAStack()
if (cct->_conf->ms_async_rdma_enable_hugepage) {
unsetenv("RDMAV_HUGEPAGES_SAFE"); //remove env variable on destruction
}
dispatcher.polling_stop();
}
void RDMAStack::spawn_worker(unsigned i, std::function<void ()> &&func)