From 2ede0fc336f2a67a908fec4d75dac493876625c0 Mon Sep 17 00:00:00 2001 From: Arseny Smirnov Date: Thu, 31 May 2018 10:04:05 +0300 Subject: [PATCH] GenAuthKeyActor: bugfix GitOrigin-RevId: 024409dfc36edcb18a9e166b231a290295a7a978 --- td/telegram/net/Session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/td/telegram/net/Session.cpp b/td/telegram/net/Session.cpp index 4fb4c768..70fb8b7f 100644 --- a/td/telegram/net/Session.cpp +++ b/td/telegram/net/Session.cpp @@ -85,6 +85,7 @@ class GenAuthKeyActor : public Actor { if (handshake_promise_) { handshake_promise_.set_error(Status::Error(1, "Cancelled")); } + stop(); } void on_connection(Result> r_raw_connection, bool dummy) {