mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +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);
|
||||
break;
|
||||
}
|
||||
if (!listener_is_ready(listener)) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (!request) {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user