From 2a8cc4b3e15037554fb357f882a67472adb4161e Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Tue, 25 Jul 2017 18:17:33 +0300 Subject: [PATCH] [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 08011f5ac..1c594f87a 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);