diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-08-02 13:22:07 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-08-02 13:22:07 +0300 |
commit | f23f985899760fafd853e993d9023b1339f09533 (patch) | |
tree | b1896aa49683d809481351249352dbb18b59cd97 /src/nxt_process.c | |
parent | 021a84019f48c9027254f15c9b9db7ea12535dd0 (diff) | |
download | unit-f23f985899760fafd853e993d9023b1339f09533.tar.gz unit-f23f985899760fafd853e993d9023b1339f09533.tar.bz2 |
Runtime processes protected with mutex.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c index 9ab3eaf3..e6a6fa0c 100644 --- a/src/nxt_process.c +++ b/src/nxt_process.c @@ -577,7 +577,7 @@ nxt_process_port_mp_cleanup(nxt_task_t *task, void *obj, void *data) process->port_cleanups--; if (process->port_cleanups == 0) { - nxt_runtime_process_destroy(rt, process); + nxt_runtime_process_remove(rt, process); } } |