s2e-systems / dust-dds

Rust implementation of the Data Distribution Service (DDS)
Apache License 2.0
86 stars 11 forks source link

Bugfix: Memory leak on Oneshot channel #321

Closed jrebelo closed 2 months ago

jrebelo commented 2 months ago

This PR fixes a memory leak on the Oneshot channel. The mem forget operation was intended as an optimization to not call Drop however this results in the Arc count not being decreased and the Arc never being de-allocated. This means that every actor operation reply was kept in memory.