Commit 697496cd authored by Joseph Noir's avatar Joseph Noir

Fix memory leak with become(), close #206

parent c4e9736e
......@@ -125,6 +125,7 @@ class event_based_resume {
auto ptr = d->next_message();
if (ptr) {
if (d->invoke_message(ptr)) {
d->bhvr_stack().cleanup();
++handled_msgs;
if (actor_done()) {
CAF_LOG_DEBUG("actor exited");
......
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