diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_port.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_port.c b/src/nxt_port.c index 64dd4dd5..7e5722d0 100644 --- a/src/nxt_port.c +++ b/src/nxt_port.c @@ -86,6 +86,8 @@ nxt_port_close(nxt_task_t *task, nxt_port_t *port) port->id, port->type); if (port->pair[0] != -1) { + nxt_port_rpc_close(task, port); + nxt_fd_close(port->pair[0]); port->pair[0] = -1; } |