| @@ -235,7 +235,6 @@ namespace Discord | |||||
| private async Task StartReconnectAsync() | private async Task StartReconnectAsync() | ||||
| { | { | ||||
| //TODO: Is this thread-safe? | //TODO: Is this thread-safe? | ||||
| await _log.InfoAsync("Debug", "Trying to reconnect...").ConfigureAwait(false); | |||||
| if (_reconnectTask != null) return; | if (_reconnectTask != null) return; | ||||
| await _connectionLock.WaitAsync().ConfigureAwait(false); | await _connectionLock.WaitAsync().ConfigureAwait(false); | ||||
| @@ -249,7 +248,6 @@ namespace Discord | |||||
| } | } | ||||
| private async Task ReconnectInternalAsync() | private async Task ReconnectInternalAsync() | ||||
| { | { | ||||
| await _log.InfoAsync("Debug", "Reconnecting...").ConfigureAwait(false); | |||||
| try | try | ||||
| { | { | ||||
| int nextReconnectDelay = 1000; | int nextReconnectDelay = 1000; | ||||
| @@ -1138,6 +1136,7 @@ namespace Discord | |||||
| } | } | ||||
| #endif | #endif | ||||
| } | } | ||||
| private async Task RunHeartbeatAsync(int intervalMillis, CancellationToken cancelToken) | private async Task RunHeartbeatAsync(int intervalMillis, CancellationToken cancelToken) | ||||
| { | { | ||||
| try | try | ||||