From 7e46f3ccdc3cf6078acd706c35248ddd115a605f Mon Sep 17 00:00:00 2001 From: MaxXor Date: Sun, 2 Aug 2015 10:12:11 +0200 Subject: [PATCH] Improved null-check in SurveillanceHandler --- Server/Core/Commands/SurveillanceHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/Core/Commands/SurveillanceHandler.cs b/Server/Core/Commands/SurveillanceHandler.cs index 53f73f98..e99078f3 100644 --- a/Server/Core/Commands/SurveillanceHandler.cs +++ b/Server/Core/Commands/SurveillanceHandler.cs @@ -62,7 +62,7 @@ public static void HandleGetProcessesResponse(Client client, GetProcessesRespons { if (packet.IDs[i] != 0 && packet.Processes[i] != "System.exe") { - if (client.Value.FrmTm == null) + if (client.Value != null && client.Value.FrmTm != null) break; ListViewItem lvi =