From: Sree Harsha Totakura Date: Tue, 4 Aug 2015 15:26:55 +0000 (+0000) Subject: -fix #3722 X-Git-Tag: initial-import-from-subversion-38251~1512 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7057c218dc0e04b4eb073a67b6c9ed3048f46123;p=oweals%2Fgnunet.git -fix #3722 --- 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);