提交 608ca822 authored 作者: Anthony Minessale's avatar Anthony Minessale

shutdown the queue when destroying the event consumer obj in c++

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12851 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a69ee23c
......@@ -97,6 +97,10 @@ SWITCH_DECLARE_CONSTRUCTOR EventConsumer::~EventConsumer()
switch_event_unbind(&node);
}
if (events) {
switch_queue_interrupt_all(events);
}
switch_core_destroy_memory_pool(&pool);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论