remove lingering code that is not needed anymore

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12862 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-04-01 03:17:27 +00:00
parent 3d73952cdb
commit eddf2803ce
4 changed files with 2 additions and 7 deletions

View File

@ -44,7 +44,6 @@ SWITCH_MODULE_DEFINITION_EX(mod_lua, mod_lua_load, mod_lua_shutdown, NULL, SMODF
static struct {
switch_memory_pool_t *pool;
char *xml_handler;
switch_event_node_t *node;
} globals;
int luaopen_freeswitch(lua_State * L);
@ -461,7 +460,6 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_lua_load)
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_lua_shutdown)
{
switch_event_unbind(&globals.node);
return SWITCH_STATUS_SUCCESS;
}

View File

@ -54,7 +54,6 @@ static struct {
PerlInterpreter *my_perl;
switch_memory_pool_t *pool;
char *xml_handler;
switch_event_node_t *node;
} globals;

View File

@ -57,7 +57,6 @@ SWITCH_MODULE_DEFINITION_EX(mod_python, mod_python_load, mod_python_shutdown, NU
static struct {
switch_memory_pool_t *pool;
char *xml_handler;
switch_event_node_t *node;
} globals;
static void eval_some_python(const char *funcname, char *args, switch_core_session_t *session, switch_stream_handle_t *stream, switch_event_t *params, char **str)
@ -412,7 +411,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_python_shutdown)
Py_Finalize();
PyEval_ReleaseLock();
switch_event_unbind(&globals.node);
return SWITCH_STATUS_UNLOAD;
}

View File

@ -95,7 +95,6 @@ static struct {
FILE *gOutFile;
int stackDummy;
JSRuntime *rt;
switch_event_node_t *node;
} globals;
static JSClass global_class = {
@ -3723,7 +3722,7 @@ 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);
switch_core_hash_destroy(&module_manager.load_hash);
return SWITCH_STATUS_SUCCESS;