diff options
Diffstat (limited to 'src/core/pipe.c')
| -rw-r--r-- | src/core/pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/pipe.c b/src/core/pipe.c index ba3027cf..321e1a09 100644 --- a/src/core/pipe.c +++ b/src/core/pipe.c @@ -110,6 +110,9 @@ nni_pipe_destroy(nni_pipe *p) if (p->p_proto_data != NULL) { p->p_proto_ops.pipe_stop(p->p_proto_data); } + if ((p->p_tran_data != NULL) && (p->p_tran_ops.p_stop != NULL)) { + p->p_tran_ops.p_stop(p->p_tran_data); + } // We have exclusive access at this point, so we can check if // we are still on any lists. |
