mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Dispose of Shuffle properly before rebuilding it as otherwise you end up with random Shuffle ping tasks waking up and trying to ping a dead connection
This commit is contained in:
@@ -114,6 +114,7 @@ public class KickBot
|
||||
{
|
||||
if (e.Type == DisconnectionType.ByServer)
|
||||
{
|
||||
_shuffle.Dispose();
|
||||
BuildShuffle();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user