GenAuthKeyActor: bugfix

GitOrigin-RevId: 024409dfc36edcb18a9e166b231a290295a7a978
This commit is contained in:
Arseny Smirnov 2018-05-31 10:04:05 +03:00
parent 74b27edd11
commit 2ede0fc336

View File

@ -85,6 +85,7 @@ class GenAuthKeyActor : public Actor {
if (handshake_promise_) {
handshake_promise_.set_error(Status::Error(1, "Cancelled"));
}
stop();
}
void on_connection(Result<std::unique_ptr<mtproto::RawConnection>> r_raw_connection, bool dummy) {