mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-13 15:51:50 +00:00
Prevent unloading of embedded languages modules (also fixes MODLANG-121)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14491 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -261,7 +261,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_java_load)
|
||||
}
|
||||
else
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error creating memory pool\n");
|
||||
return status;
|
||||
|
||||
return status == SWITCH_STATUS_SUCCESS ? SWITCH_STATUS_NOUNLOAD : status;
|
||||
}
|
||||
|
||||
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_java_shutdown)
|
||||
|
||||
Reference in New Issue
Block a user