mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
fix profile shutdown
This commit is contained in:
parent
394d545468
commit
b4773504db
@ -685,11 +685,6 @@ void sofia_event_callback(nua_event_t event,
|
|||||||
int check_destroy = 1;
|
int check_destroy = 1;
|
||||||
|
|
||||||
|
|
||||||
if (!sofia_test_pflag(profile, PFLAG_RUNNING)) {
|
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Profile is shutting down.\n");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* sofia_private will be == &mod_sofia_globals.keep_private whenever a request is done with a new handle that has to be
|
/* sofia_private will be == &mod_sofia_globals.keep_private whenever a request is done with a new handle that has to be
|
||||||
freed whenever the request is done */
|
freed whenever the request is done */
|
||||||
if (nh && sofia_private == &mod_sofia_globals.keep_private) {
|
if (nh && sofia_private == &mod_sofia_globals.keep_private) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user