Catch ObjectDisposedException while reconnecting

Seems also related to issue #19.
This commit is contained in:
ORelio 2014-04-02 19:01:10 +02:00
parent 6b68c599f5
commit 25bf5a8ca9

View file

@ -580,6 +580,7 @@ namespace MinecraftClient
catch (SocketException) { }
catch (System.IO.IOException) { }
catch (NullReferenceException) { }
catch (ObjectDisposedException) { }
}
private List<ChatBot> bots = new List<ChatBot>();