From 7057c218dc0e04b4eb073a67b6c9ed3048f46123 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Tue, 4 Aug 2015 15:26:55 +0000 Subject: [PATCH] -fix #3722 --- src/fs/test_gnunet_service_fs_migration.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c index 69fd4619a..31e971a98 100644 --- 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); -- 2.25.1