Commit 689ce5ab authored by juga  's avatar juga
Browse files

scanner: Stop threads in a test network

after finishing the first loop.
As noted in bug28933_01.
parent 65e7e29d
......@@ -480,7 +480,8 @@ def main_loop(args, conf, controller, relay_list, circuit_builder, result_dump,
if controller.get_conf('TestingTorNetwork') == '1':
log.info("In a testing network, exiting after the first loop.")
# Threads should be closed nicely in some refactor
exit(0)
stop_threads(signal.SIGTERM, None)
def run_speedtest(args, conf):
"""Initializes all the data and threads needed to measure the relays.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment