FS-5911 --resolve

This commit is contained in:
Anthony Minessale 2013-10-25 23:51:32 +05:00
parent 0b9e01be47
commit c8be999c34
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
Tue Oct 22 16:25:25 CDT 2013
Fri Oct 25 23:51:29 CDT 2013

View File

@ -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;