From a3708bae52239f7b4b8c2efad4eafa1cabe26912 Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Tue, 25 Jul 2017 18:17:33 +0300 Subject: [default] use the current scheduler in the online file source --- platform/default/online_file_source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/default/online_file_source.cpp b/platform/default/online_file_source.cpp index 08011f5ac1..1c594f87a0 100644 --- a/platform/default/online_file_source.cpp +++ b/platform/default/online_file_source.cpp @@ -383,7 +383,7 @@ ActorRef OnlineFileRequest::actor() { if (!mailbox) { // Lazy constructed because this can be costly and // the ResourceTransform is not used by many apps. - mailbox = std::make_shared(*util::RunLoop::Get()); + mailbox = std::make_shared(*Scheduler::GetCurrent()); } return ActorRef(*this, mailbox); -- cgit v1.2.1