diff options
Diffstat (limited to 'src/testbed/gnunet-service-testbed.c')
-rw-r--r-- | src/testbed/gnunet-service-testbed.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c index 4b05eb378..9c4b90653 100644 --- a/src/testbed/gnunet-service-testbed.c +++ b/src/testbed/gnunet-service-testbed.c | |||
@@ -58,7 +58,7 @@ | |||
58 | /** | 58 | /** |
59 | * Default timeout for operations which may take some time | 59 | * Default timeout for operations which may take some time |
60 | */ | 60 | */ |
61 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 30) | 61 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 60) |
62 | 62 | ||
63 | /** | 63 | /** |
64 | * The main context information associated with the client which started us | 64 | * The main context information associated with the client which started us |
@@ -2321,6 +2321,11 @@ handle_peer_destroy (void *cls, struct GNUNET_SERVER_Client *client, | |||
2321 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 2321 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
2322 | return; | 2322 | return; |
2323 | } | 2323 | } |
2324 | if (GNUNET_YES == peer->details.local.is_running) | ||
2325 | { | ||
2326 | GNUNET_TESTING_peer_stop (peer->details.local.peer); | ||
2327 | peer->details.local.is_running = GNUNET_NO; | ||
2328 | } | ||
2324 | GNUNET_TESTING_peer_destroy (peer->details.local.peer); | 2329 | GNUNET_TESTING_peer_destroy (peer->details.local.peer); |
2325 | GNUNET_CONFIGURATION_destroy (peer->details.local.cfg); | 2330 | GNUNET_CONFIGURATION_destroy (peer->details.local.cfg); |
2326 | peer_list_remove (peer); | 2331 | peer_list_remove (peer); |