-
Notifications
You must be signed in to change notification settings - Fork 3k
rtos: Fix MemoryPool and Queue destructor #4601
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
rtos: Fix MemoryPool and Queue destructor #4601
Conversation
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.
Good catch, thanks!
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.
Yay! Nice fix
should finish up #4492
/morph test |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputTest failed! |
@studavekar Was this CI failure related to this PR? |
Looks like tests failed logs have not been uploaded to public server, Not exactly sure about the failure. re-trigger the tests |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputTest failed! |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
Description
Destructors of
MemoryPool
andQueue
were not defined leaving a resource leak after destruction of any instance of this kind of objects.This PR adds a destructor for these types which correctly release the resources. As a side effect it also fix the default destructor of the
Mail
class.Status
READY
Migrations
NO
Todos