diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-11-27 06:48:02 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-11-27 06:48:02 +0000 |
commit | 9b648bcb7b5e8d59c589b4a03b8b252e6c070ad5 (patch) | |
tree | 65447587bc7c8510afb00cfad27da64a414b8696 /src | |
parent | 74f829d34a62f52c27c9a19406597cacce569c7b (diff) | |
download | gnunet-9b648bcb7b5e8d59c589b4a03b8b252e6c070ad5.tar.gz gnunet-9b648bcb7b5e8d59c589b4a03b8b252e6c070ad5.zip |
- dont send anything to clients shutting down
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh_local.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index fb12be3db..099a55e26 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c | |||
@@ -1034,6 +1034,8 @@ GML_send_channel_destroy (struct MeshClient *c, uint32_t id) | |||
1034 | GNUNET_break (0); | 1034 | GNUNET_break (0); |
1035 | return; | 1035 | return; |
1036 | } | 1036 | } |
1037 | if (GNUNET_YES == c->shutting_down) | ||
1038 | return; | ||
1037 | msg.header.size = htons (sizeof (msg)); | 1039 | msg.header.size = htons (sizeof (msg)); |
1038 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_DESTROY); | 1040 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_DESTROY); |
1039 | msg.channel_id = htonl (id); | 1041 | msg.channel_id = htonl (id); |