stuff
[oweals/gnunet.git] / src / util / server_nc.c
index 61775c6a1df5f7fbeaa3cbeb72e333f826303dc7..88de62c63f4a20a1b1cb9112ca1825b1969912f1 100644 (file)
@@ -220,8 +220,8 @@ GNUNET_SERVER_notification_context_destroy (struct GNUNET_SERVER_NotificationCon
   while (NULL != (pos = nc->clients))
     {
       nc->clients = pos->next;
-      GNUNET_SERVER_receive_done (pos->client, GNUNET_NO);
       GNUNET_SERVER_client_drop (pos->client); 
+      GNUNET_SERVER_receive_done (pos->client, GNUNET_NO);
       while (NULL != (pml = pos->pending_head))
        {
          pos->pending_head = pml->next;