mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
Properly shutdown the JS runtime on unload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12631 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8d9f4cd156
commit
293bf48518
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user