aboutsummaryrefslogtreecommitdiff
path: root/src/common/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/helper.c')
-rw-r--r--src/common/helper.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/common/helper.c b/src/common/helper.c
index c150b989..ab513027 100644
--- a/src/common/helper.c
+++ b/src/common/helper.c
@@ -137,11 +137,8 @@ int gtkRunSomeSaveCalls() {
137 return NO; 137 return NO;
138 } 138 }
139 i = randomi(pscCount); 139 i = randomi(pscCount);
140 g_idle_remove_by_data(psc[i]->args); 140 if (TRUE == g_idle_remove_by_data(psc[i]->args))
141 /* yes, ignore return value here, GTK seems 141 saveCallWrapper(psc[i]->args);
142 to be dropping these during shutdown, and
143 we still want to run them nevertheless */
144 psc[i]->func(psc[i]);
145 MUTEX_UNLOCK(&sclock); 142 MUTEX_UNLOCK(&sclock);
146 gnunet_util_sleep(50 * cronMILLIS); 143 gnunet_util_sleep(50 * cronMILLIS);
147 /* sleep here is somewhat important, first of 144 /* sleep here is somewhat important, first of