projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- doc
[oweals/gnunet.git]
/
src
/
util
/
service.c
diff --git
a/src/util/service.c
b/src/util/service.c
index c6fdc1f8d6e4a3ab2ef74d01a727689975771eaa..b9050f83099d2b3bdd6067b007f0e47a938f09a5 100644
(file)
--- a/
src/util/service.c
+++ b/
src/util/service.c
@@
-1504,6
+1504,8
@@
service_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
struct GNUNET_SERVICE_Context *sctx = cls;
unsigned int i;
+ if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason))
+ return;
GNUNET_RESOLVER_connect (sctx->cfg);
if (NULL != sctx->lsocks)
sctx->server =