Commit 934d9e7c authored by Dominik Charousset's avatar Dominik Charousset

fixed subtle memory leak in release_node

parent f616740d
......@@ -206,6 +206,8 @@ class abstract_actor : public abstract_actor_base<Base> {
}
inline void release_node(mailbox_element* node) {
// prevent
node->msg.reset();
{ // lifetime scope of guard
lock_type guard{m_nodes_lock};
if (m_nodes.full() == false) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment