提交 293bf485 authored 作者: Mathieu Rene's avatar Mathieu Rene

Properly shutdown the JS runtime on unload

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12631 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 8d9f4cd1
......@@ -3746,6 +3746,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_spidermonkey_load)
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_spidermonkey_shutdown)
{
JS_DestroyRuntime(globals.rt);
curl_global_cleanup();
switch_event_unbind(&globals.node);
switch_core_hash_destroy(&module_manager.mod_hash);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论