commit 7057c218dc0e04b4eb073a67b6c9ed3048f46123
parent 406b957adf0132cc626e5d07b9facf21c0024966
Author: Sree Harsha Totakura <totakura@in.tum.de>
Date: Tue, 4 Aug 2015 15:26:55 +0000
-fix #3722
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c
@@ -145,6 +145,9 @@ stop_source_peer (void *cls,
{
struct DownloadContext *dc = cls;
+ /* Do not interact with testbed when shutting down */
+ if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
+ return;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Stopping source peer\n");
op = GNUNET_TESTBED_peer_stop (NULL, daemons[1], &do_download, dc);