[Node] Ignore invalid nodes
This commit is contained in:
parent
65a555e82b
commit
d153c98408
@ -136,6 +136,8 @@ namespace Components
|
|||||||
if (address.isLocal() || address.isSelf()) return;
|
if (address.isLocal() || address.isSelf()) return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (!address.isValid()) return;
|
||||||
|
|
||||||
std::lock_guard<std::recursive_mutex> _(Node::Mutex);
|
std::lock_guard<std::recursive_mutex> _(Node::Mutex);
|
||||||
for (auto& session : Node::Nodes)
|
for (auto& session : Node::Nodes)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user