aboutsummaryrefslogtreecommitdiff
path: root/src/send_message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/send_message.c')
-rw-r--r--src/send_message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/send_message.c b/src/send_message.c
index 5ab1345d..8d58fd30 100644
--- a/src/send_message.c
+++ b/src/send_message.c
@@ -753,6 +753,7 @@ static void send_cancel_button_cb(GtkWidget *widget, gpointer data)
SendProgressDialog *dialog = (SendProgressDialog *)data;
dialog->cancelled = TRUE;
+ session_disconnect(dialog->session);
}
static void send_put_error(Session *session)