This commit is contained in:
Rupa Schomaker 2010-06-19 20:07:39 -05:00
parent 1c17da93ef
commit d5ad29b585

View File

@ -3134,7 +3134,7 @@ SWITCH_STANDARD_APP(limit_execute_function)
switch_core_session_execute_application(session, app, app_arg);
/* Only release the resource if we are still in CS_EXECUTE */
if (switch_channel_get_state(switch_core_session_get_channel(session)) == CS_EXECUTE) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_IFNO, "immediately releasing\n");
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "immediately releasing\n");
switch_limit_release(backend, session, realm, id);
}
}