- small cleanup

This commit is contained in:
FlorianDahn 2019-09-27 23:14:28 +02:00
parent 94d22318f8
commit 4c8b085655

View File

@ -175,6 +175,9 @@ namespace TelegramBotBase
if (this.Client == null)
return;
this.Client.Message -= Client_Message;
this.Client.Action -= Client_Action;
this.Client.TelegramClient.StopReceiving();
}