mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-30 10:15:52 +00:00
MODSOFIA-83
This commit is contained in:
parent
90dec5c79d
commit
72be253d2b
@ -684,6 +684,12 @@ void sofia_event_callback(nua_event_t event,
|
||||
int locked = 0;
|
||||
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
|
||||
freed whenever the request is done */
|
||||
if (nh && sofia_private == &mod_sofia_globals.keep_private) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user