mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-05-26 15:26:12 +00:00
fixed workers cleanup on restart
This commit is contained in:
@@ -536,4 +536,6 @@ static void _stream_destroy_workers(struct stream_t *stream, struct workers_pool
|
|||||||
}
|
}
|
||||||
pool->free_workers = 0;
|
pool->free_workers = 0;
|
||||||
pool->workers = NULL;
|
pool->workers = NULL;
|
||||||
|
pool->oldest_worker = NULL;
|
||||||
|
pool->latest_worker = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user