Commit cfcfedfb authored by neverlord's avatar neverlord

use mock_actor for detached actors

parent 54738d06
...@@ -178,7 +178,7 @@ void thread_pool_scheduler::schedule(scheduled_actor* what) ...@@ -178,7 +178,7 @@ void thread_pool_scheduler::schedule(scheduled_actor* what)
actor_ptr thread_pool_scheduler::spawn(actor_behavior* behavior, actor_ptr thread_pool_scheduler::spawn(actor_behavior* behavior,
scheduling_hint hint) scheduling_hint hint)
{ {
if (hint == scheduled) if (hint == detached)
{ {
return mock_scheduler::spawn(behavior); return mock_scheduler::spawn(behavior);
} }
......
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