From 5f320786f58e482ea6d74a23c4fa78bc90876afd Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 1 Jun 2019 05:31:44 +0300 Subject: [PATCH] fixed workers cleanup on restart --- src/stream.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stream.c b/src/stream.c index 1c75bb4..8c5a595 100644 --- a/src/stream.c +++ b/src/stream.c @@ -536,4 +536,6 @@ static void _stream_destroy_workers(struct stream_t *stream, struct workers_pool } pool->free_workers = 0; pool->workers = NULL; + pool->oldest_worker = NULL; + pool->latest_worker = NULL; }