Commit 5c305d05 authored by Dominik Charousset's avatar Dominik Charousset

shutdown function no longer waits for actors

parent 52ac88d1
...@@ -72,8 +72,8 @@ void singleton_manager::shutdown() { ...@@ -72,8 +72,8 @@ void singleton_manager::shutdown() {
try { self.unchecked()->quit(exit_reason::normal); } try { self.unchecked()->quit(exit_reason::normal); }
catch (actor_exited&) { } catch (actor_exited&) { }
} }
auto rptr = s_actor_registry.load(); //auto rptr = s_actor_registry.load();
if (rptr) rptr->await_running_count_equal(0); //if (rptr) rptr->await_running_count_equal(0);
destroy(s_scheduler); destroy(s_scheduler);
destroy(s_middleman); destroy(s_middleman);
std::atomic_thread_fence(std::memory_order_seq_cst); std::atomic_thread_fence(std::memory_order_seq_cst);
......
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