aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_handle.c')
-rw-r--r--src/gnunet_chat_handle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gnunet_chat_handle.c b/src/gnunet_chat_handle.c
index d3c9394..a8f24e7 100644
--- a/src/gnunet_chat_handle.c
+++ b/src/gnunet_chat_handle.c
@@ -57,6 +57,7 @@ handle_create_from_config (const struct GNUNET_CONFIGURATION_Handle* cfg,
57 handle->accounts_tail = NULL; 57 handle->accounts_tail = NULL;
58 58
59 handle->current = NULL; 59 handle->current = NULL;
60 handle->creation_op = NULL;
60 61
61 handle->files = NULL; 62 handle->files = NULL;
62 handle->contexts = NULL; 63 handle->contexts = NULL;
@@ -113,6 +114,9 @@ handle_destroy (struct GNUNET_CHAT_Handle *handle)
113 if (handle->shutdown_hook) 114 if (handle->shutdown_hook)
114 GNUNET_SCHEDULER_cancel(handle->shutdown_hook); 115 GNUNET_SCHEDULER_cancel(handle->shutdown_hook);
115 116
117 if (handle->creation_op)
118 GNUNET_IDENTITY_cancel(handle->creation_op);
119
116 if (handle->current) 120 if (handle->current)
117 handle_disconnect(handle); 121 handle_disconnect(handle);
118 122