Fixed null check

This commit is contained in:
MaxXor 2015-08-08 18:44:10 +02:00
parent 314b957d0c
commit c770a89083
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ private void FrmReverseProxy_FormClosing(object sender, FormClosingEventArgs e)
for (int i = 0; i < _clients.Length; i++)
{
if (_clients[i].Value != null)
if (_clients[i] != null && _clients[i].Value != null)
_clients[i].Value.FrmProxy = null;
}
}