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);