A disconnect caused by a websocket error should trigger a reconnect

This commit is contained in:
RogueException
2015-12-25 19:36:00 -04:00
parent 0fd946152c
commit 503d474135

View File

@@ -76,7 +76,7 @@ namespace Discord.Net.WebSockets
private void OnWebSocketError(object sender, ErrorEventArgs e)
{
_taskManager.SignalError(e.Exception);
_taskManager.SignalError(e.Exception, isUnexpected: true);
_waitUntilConnect.Set();
}
private void OnWebSocketClosed(object sender, EventArgs e)