- small cleanup
This commit is contained in:
parent
94d22318f8
commit
4c8b085655
@ -175,6 +175,9 @@ namespace TelegramBotBase
|
|||||||
if (this.Client == null)
|
if (this.Client == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
this.Client.Message -= Client_Message;
|
||||||
|
this.Client.Action -= Client_Action;
|
||||||
|
|
||||||
this.Client.TelegramClient.StopReceiving();
|
this.Client.TelegramClient.StopReceiving();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user