RPS tests: Schedule shutdown properly
authorJulius Bünger <buenger@mytum.de>
Sun, 14 Oct 2018 11:37:27 +0000 (13:37 +0200)
committerJulius Bünger <buenger@mytum.de>
Sun, 14 Oct 2018 11:37:27 +0000 (13:37 +0200)
src/rps/test_rps.c

index 0740d01df7b77fb8d494592ac36ce75b79811d04..63a6007aed3724184714fc4433123dbd41c72acb 100644 (file)
@@ -2806,8 +2806,6 @@ run (void *cls,
   timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS,
       (timeout_s * 1.2) + 0.1 * num_peers);
   shutdown_task = GNUNET_SCHEDULER_add_delayed (timeout, &shutdown_op, NULL);
-  shutdown_task = GNUNET_SCHEDULER_add_shutdown (shutdown_op, NULL);
-
 }