aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2005-07-15 11:00:22 +0000
committerChristian Grothoff <christian@grothoff.org>2005-07-15 11:00:22 +0000
commit74ec35880ee941f54edc2f0b747b24db5c26d35c (patch)
treee11e4fab0e7a274dcbc47d33d98803412e8f02d5
parent47ea42888e1a84ec8b4a226d3ca43a51e66c8d1b (diff)
downloadgnunet-gtk-74ec35880ee941f54edc2f0b747b24db5c26d35c.tar.gz
gnunet-gtk-74ec35880ee941f54edc2f0b747b24db5c26d35c.zip
fix
-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