minor changes

This commit is contained in:
solarin 2020-04-09 12:32:06 +04:00
parent afd6d06252
commit 0dd6fdbac7
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ namespace TLSharp.Core.Network
ipAddress = IPAddress.Parse(address);
}
public async Task Connect()
public async Task ConnectAsync()
{
if (handler == null)
{

View file

@ -79,7 +79,7 @@ namespace TLSharp.Core
// we must recreate the session because it might track dirty information
// of a connection that maybe was disconnected, reusing that session will cause errors
session = Session.TryLoadOrCreateNew(store, sessionUserId);
await transport.Connect();
await transport.ConnectAsync();
}
if (session.AuthKey == null || reconnect)