mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-07 00:11:53 +00:00
missed a spot
This commit is contained in:
parent
349e9d5913
commit
ee5d1c4dcf
@ -1118,6 +1118,11 @@ SWITCH_DECLARE(void) switch_core_session_perform_destroy(switch_core_session_t *
|
|||||||
}
|
}
|
||||||
switch_mutex_unlock(runtime.session_hash_mutex);
|
switch_mutex_unlock(runtime.session_hash_mutex);
|
||||||
|
|
||||||
|
if ((*session)->plc) {
|
||||||
|
plc_free((*session)->plc);
|
||||||
|
(*session)->plc = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (switch_event_create(&event, SWITCH_EVENT_CHANNEL_DESTROY) == SWITCH_STATUS_SUCCESS) {
|
if (switch_event_create(&event, SWITCH_EVENT_CHANNEL_DESTROY) == SWITCH_STATUS_SUCCESS) {
|
||||||
switch_channel_event_set_data((*session)->channel, event);
|
switch_channel_event_set_data((*session)->channel, event);
|
||||||
switch_event_fire(&event);
|
switch_event_fire(&event);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user