Commit 9b98c168 authored by Dominik Charousset's avatar Dominik Charousset

Decrement running count before sending downs/exits

parent b8b8041f
......@@ -1037,9 +1037,9 @@ bool local_actor::cleanup(error&& fail_state, execution_unit* host) {
for (auto& subscription : subscriptions_)
subscription->unsubscribe(me);
subscriptions_.clear();
monitorable_actor::cleanup(std::move(fail_state), host);
// tell registry we're done
is_registered(false);
monitorable_actor::cleanup(std::move(fail_state), host);
return true;
}
......
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