summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-07-23 14:25:21 +0300
committerMax Romanov <max.romanov@nginx.com>2020-07-23 14:25:21 +0300
commit9641fb0ef1d708bb9ec8c00ea5ec694829e4fd67 (patch)
treed282d8bd28db83747848a8b76cba5052b16af081 /src/nxt_router.c
parentd3c8d622807c058c0f8aff6714cf40585b08faa5 (diff)
downloadunit-9641fb0ef1d708bb9ec8c00ea5ec694829e4fd67.tar.gz
unit-9641fb0ef1d708bb9ec8c00ea5ec694829e4fd67.tar.bz2
Fixing various router crashes on exit caused by runtime pool free.
Currently, the router exits without waiting for the worker threads to stop. There is a short gap between the runtime memory pool's free and the exit, during which a worker thread may try to access a runtime structure. In turn, this may cause a crash. For now, it is better to keep this memory allocated.
Diffstat (limited to 'src/nxt_router.c')
0 files changed, 0 insertions, 0 deletions