Remove thread sleep in disconnect method

This commit is contained in:
ReinforceZwei 2021-05-03 19:57:31 +08:00 committed by ORelio
parent 2bf29c06a4
commit 512d78d307

View file

@ -504,8 +504,6 @@ namespace MinecraftClient
timeoutdetector = null;
}
Thread.Sleep(1000);
if (client != null)
client.Close();
}