yarp icon indicating copy to clipboard operation
yarp copied to clipboard

os/impl/LogForwarder: Do not use a static Bottle

Open drdanz opened this issue 4 years ago • 2 comments
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 LogForwarder no longer skips messages when messages are sent too quickly (#2643).

drdanz avatar Jul 27 '21 11:07 drdanz

/rebase

drdanz avatar Aug 02 '21 14:08 drdanz

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.

drdanz avatar Nov 10 '21 13:11 drdanz