NPE in event handling

This commit is contained in:
gnembon committed 2020-03-07 14:10:40 -04:00
1 parent 3105e6fe1d
commit 926b1f20b9
1 file changed
+1 -1
@@ -176,7 +176,7 @@ public class CarpetEventServer
public void removeAllCalls(String hostName)
{
callList.removeIf((c)-> c.host.equals(hostName));
callList.removeIf((c)-> c.host != null && c.host.equals(hostName));
}
}