mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-13 13:40:44 +00:00
Skinny: avoid crash on shutdown
Because of uninstancied listener
This commit is contained in:
parent
58595bdaec
commit
ca8ec66ed3
@ -1236,6 +1236,9 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
|
|||||||
switch_clear_flag_locked(listener, LFLAG_RUNNING);
|
switch_clear_flag_locked(listener, LFLAG_RUNNING);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (!listener_is_ready(listener)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (!request) {
|
if (!request) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user