Update BotClientService.cs
This commit is contained in:
parent
f7dd65781f
commit
5b12106301
1 changed files with 4 additions and 1 deletions
|
|
@ -177,8 +177,11 @@ namespace SecondBotEvents.Services
|
||||||
{
|
{
|
||||||
bool isRestart = false;
|
bool isRestart = false;
|
||||||
if (client != null)
|
if (client != null)
|
||||||
|
{
|
||||||
|
if (client.Network != null)
|
||||||
{
|
{
|
||||||
client.Network.Logout();
|
client.Network.Logout();
|
||||||
|
}
|
||||||
isRestart = true;
|
isRestart = true;
|
||||||
}
|
}
|
||||||
client = null;
|
client = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue