Skip to content

Commit

Permalink
prevent null reference exception log
Browse files Browse the repository at this point in the history
  • Loading branch information
icylogic committed Aug 11, 2015
1 parent b36b25a commit 295beaf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ private class StatisticsData

private void ChooseNewServer(List<Server> servers)
{
if (statistics == null)
{
return;
}
try
{
var bestResult = (from server in servers
Expand Down

0 comments on commit 295beaf

Please sign in to comment.