mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-09 04:49:05 +00:00
FS-5911 --resolve
This commit is contained in:
1 parent
0b9e01be47
commit
c8be999c34
2 files changed
+5
-1
No files matched your search
@@ -2094,6 +2094,10 @@ void tport_close(tport_t *self)
|
||||
SU_DEBUG_5(("%s(%p): " TPN_FORMAT "\n",
|
||||
__func__, (void *)self, TPN_ARGS(self->tp_name)));
|
||||
|
||||
if (self->tp_refs == -1) {
|
||||
self->tp_refs = 0;
|
||||
}
|
||||
|
||||
if (self->tp_closed || !tport_is_secondary(self))
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user