Fixed crasing on limited number of requests
This commit is contained in:
parent
576befded6
commit
2c96c1f9ff
@ -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 = {}
|
||||
|
Loading…
Reference in New Issue
Block a user