This commit is contained in:
Aleksey Kladov
2020-06-26 00:27:39 +02:00
parent 72fb712dff
commit e70f7dc10c
4 changed files with 38 additions and 32 deletions

View File

@@ -59,7 +59,7 @@ impl<'a> RequestDispatcher<'a> {
}
};
self.global_state.task_pool.0.spawn({
self.global_state.task_pool.handle.spawn({
let world = self.global_state.snapshot();
move || {
let result = f(world, params);