Skip to content

Commit

Permalink
Fix issue #114.
Browse files Browse the repository at this point in the history
  • Loading branch information
caguero committed Mar 1, 2020
1 parent 57a7a92 commit 79a097c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/NodeShared.cc
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,10 @@ void NodeShared::OnNewDisconnection(const MessagePublisher &_pub)
}
else
{
this->remoteSubscribers.DelPublishersByProc(procUuid);
// Note: We deliberately don't remove the list of remote subscribers
// for this process. Remote nodes might suffer package delays (due to WiFi
// or traffic load) and if we remove them, they won't be able to receive
// data anymore.

MsgAddresses_M info;
if (!this->connections.Publishers(topic, info))
Expand Down

0 comments on commit 79a097c

Please sign in to comment.