diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-15 14:10:35 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-15 14:10:35 +0000 |
commit | e58b22c326781e754672759bd5885f32b64d0626 (patch) | |
tree | 889abf24897e69e1ba07aa98784bfbafc90448d0 /src/testbed/gnunet-testbed-profiler.c | |
parent | ad68ae150f17cf6e0b2c605c9331cf0aedfce1d0 (diff) | |
download | gnunet-e58b22c326781e754672759bd5885f32b64d0626.tar.gz gnunet-e58b22c326781e754672759bd5885f32b64d0626.zip |
- fixes
Diffstat (limited to 'src/testbed/gnunet-testbed-profiler.c')
-rw-r--r-- | src/testbed/gnunet-testbed-profiler.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c index 1bcce20e4..24b3cdac6 100644 --- a/src/testbed/gnunet-testbed-profiler.c +++ b/src/testbed/gnunet-testbed-profiler.c | |||
@@ -110,9 +110,15 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
110 | { | 110 | { |
111 | shutdown_task = GNUNET_SCHEDULER_NO_TASK; | 111 | shutdown_task = GNUNET_SCHEDULER_NO_TASK; |
112 | if (GNUNET_SCHEDULER_NO_TASK != abort_task) | 112 | if (GNUNET_SCHEDULER_NO_TASK != abort_task) |
113 | { | ||
113 | GNUNET_SCHEDULER_cancel (abort_task); | 114 | GNUNET_SCHEDULER_cancel (abort_task); |
115 | abort_task = GNUNET_SCHEDULER_NO_TASK; | ||
116 | } | ||
114 | if (NULL != cfg) | 117 | if (NULL != cfg) |
118 | { | ||
115 | GNUNET_CONFIGURATION_destroy (cfg); | 119 | GNUNET_CONFIGURATION_destroy (cfg); |
120 | cfg = NULL; | ||
121 | } | ||
116 | GNUNET_SCHEDULER_shutdown (); /* Stop scheduler to shutdown testbed run */ | 122 | GNUNET_SCHEDULER_shutdown (); /* Stop scheduler to shutdown testbed run */ |
117 | } | 123 | } |
118 | 124 | ||