-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix memory leaks #708
Fix memory leaks #708
Conversation
#566 is expected to land soon. I'd suggest to rebase this PR on #566 and to coordinate with @YuanYuYuan regarding task handling and management. |
- kill tasks through task controller - code clean up - removed valgrind log - added documentation - fix fmt - Runtime::close() now breaks cyclic references in self.router.tables.tables.root_res
a6da9e8
to
ae0811e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
… cyclic refs in resource
- removed no longer needed Resource::close method
…nation code for hats in runtime.close()
@DenisBiryukov91 What's the latest status of this PR? Also, would be great if you can add the timeline to the respective issue |
@imstevenpmwork This was kind of finished for the main branch at the moment of last commit, but due to transition async-std->Tokyo, task termination part would likely need to be redone, so it is postponed until #566 is merged. |
Addresses a series of memory leaks detected by valgrind (Fixes #695 ):
Valgrind still reports some leaks, but they seem to be due to async_std (no mention of any Zenoh code, and similar "leaks" are also observed when running a simple hello world-type async example).