NPE in event handling
This commit is contained in:
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user