mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-07 12:51:51 +00:00
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:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user