yarp
yarp copied to clipboard
os/impl/LogForwarder: Do not use a static Bottle
trafficstars
When the forward method is called twice, the Bottle::clear() method could be called before the message is sent, hence deleting the bottle being sent.
This fixes the LogForwarder skipping messages when messages are sent too quickly (Fixes #2643).
Libraries
os
- The
LogForwarderno longer skips messages when messages are sent too quickly (#2643).
/rebase
This PR is temporarily blocked, since this will block the sender when there are 2 messages in queue, and at the moment there is no way to avoid this, or to make the queue bigger.