libm2k
libm2k copied to clipboard
Do not destroy TX buffer after canceling it
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.