mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
FS-8721 last should only be set on the ones we skip that will not be destroyed
This commit is contained in:
parent
2c37bbab09
commit
5ee745afeb
@ -1124,7 +1124,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_remove_all_function(switch
|
|||||||
} else {
|
} else {
|
||||||
session->bugs = bp->next;
|
session->bugs = bp->next;
|
||||||
}
|
}
|
||||||
last = bp;
|
|
||||||
}
|
}
|
||||||
switch_thread_rwlock_unlock(session->bug_rwlock);
|
switch_thread_rwlock_unlock(session->bug_rwlock);
|
||||||
status = SWITCH_STATUS_SUCCESS;
|
status = SWITCH_STATUS_SUCCESS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user