diff --git a/pkg/gotd/mtproto/conn.go b/pkg/gotd/mtproto/conn.go index bc650aaa..9a7fd356 100644 --- a/pkg/gotd/mtproto/conn.go +++ b/pkg/gotd/mtproto/conn.go @@ -161,7 +161,7 @@ func New(dialer Dialer, opt Options) *Conn { RetryInterval: opt.RetryInterval, MaxRetries: opt.MaxRetries, Clock: opt.Clock, - DropHandler: conn.dropRPC, + DropHandler: rpc.NopDrop, // was conn.dropRPC, but disabled for faster shutdown OnError: opt.OnError, }) }