Improved null-check in SurveillanceHandler

This commit is contained in:
MaxXor 2015-08-02 10:12:11 +02:00
parent c5efc87f46
commit 7e46f3ccdc
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public static void HandleGetProcessesResponse(Client client, GetProcessesRespons
{ {
if (packet.IDs[i] != 0 && packet.Processes[i] != "System.exe") if (packet.IDs[i] != 0 && packet.Processes[i] != "System.exe")
{ {
if (client.Value.FrmTm == null) if (client.Value != null && client.Value.FrmTm != null)
break; break;
ListViewItem lvi = ListViewItem lvi =