Fixed crasing on limited number of requests

This commit is contained in:
Pünkösd Marcell 2020-10-21 03:40:46 +02:00
parent 576befded6
commit 2c96c1f9ff

View File

@ -198,7 +198,8 @@ def run_benchmark(
worker.terminate() # Not the nicest solution
# Stop the input generator
input_generator_thread.active = False
if input_generator_thread:
input_generator_thread.active = False
# read out all send requests to an array for handling later:
results = {}