libm2k icon indicating copy to clipboard operation
libm2k copied to clipboard

Do not destroy TX buffer after canceling it

Open teoperisanu opened this issue 5 years ago • 0 comments

A later issue revealed an inconsistency in destroying the RX buffer in a multithreaded program after both canceling and refilling the buffer. In the current version of the library, stopping a TX buffer is performed by canceling and destroying the buffer. Also when the push function returns an error code, the buffer is destroyed. This may lead in the same problem described at #142.

teoperisanu avatar May 08 '20 06:05 teoperisanu