Skip to content

Commit

Permalink
BiDict replaced with the old key, value behaviour. Prallel is too unp…
Browse files Browse the repository at this point in the history
…erformant, plus, it leads to strange runtime behaviour.
  • Loading branch information
Toemsel committed May 28, 2019
1 parent 06d7b9a commit c95bea7
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 303 deletions.
2 changes: 1 addition & 1 deletion Network/ClientConnectionContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ public override string ToString()
/// </summary>
internal void Initialize()
{
ReconnectInterval = 2500;
reconnectTimer = new Timer();
ReconnectInterval = 2500;
reconnectTimer.Interval = ReconnectInterval;
reconnectTimer.Elapsed += TryToConnect;
TryConnect();
Expand Down
2 changes: 1 addition & 1 deletion Network/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ private void ReadWork()
Logger.Log("Reading packet from stream", exception, LogLevel.Exception);
}

CloseHandler(Enums.CloseReason.ReadPacketThreadException);
CloseHandler(CloseReason.ReadPacketThreadException);
}

/// <summary>
Expand Down
88 changes: 15 additions & 73 deletions Network/Network.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c95bea7

Please sign in to comment.