git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11070 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-01-05 16:42:46 +00:00
parent 4b58f8dbf5
commit eebdfba586
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ static switch_status_t hash_state_handler(switch_core_session_t *session)
/* The call is either hung up, or is going back into the dialplan, decrement appropriate couters */ /* The call is either hung up, or is going back into the dialplan, decrement appropriate couters */
if (state == CS_HANGUP || state == CS_ROUTING) { if (state == CS_HANGUP || state == CS_ROUTING) {
switch_hash_index_t *hi; switch_hash_index_t *hi;
switch_mutex_lock(globals.mutex); switch_mutex_lock(globals.limit_hash_mutex);
/* Loop through the channel's hashtable which contains mapping to all the limit_hash_item_t referenced by that channel */ /* Loop through the channel's hashtable which contains mapping to all the limit_hash_item_t referenced by that channel */
for(hi = switch_hash_first(NULL, channel_hash); hi; hi = switch_hash_next(hi)) for(hi = switch_hash_first(NULL, channel_hash); hi; hi = switch_hash_next(hi))