diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-07-25 18:17:33 +0300 |
---|---|---|
committer | Ivo van Dongen <info@ivovandongen.nl> | 2017-08-08 16:17:00 +0300 |
commit | a3708bae52239f7b4b8c2efad4eafa1cabe26912 (patch) | |
tree | 24b1e9db709474104f68af6ca240fd21607a0876 | |
parent | 988f95e8bd24dc0d67a4714ead89d793a43e6b13 (diff) | |
download | qtlocation-mapboxgl-a3708bae52239f7b4b8c2efad4eafa1cabe26912.tar.gz |
[default] use the current scheduler in the online file source
-rw-r--r-- | platform/default/online_file_source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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> OnlineFileRequest::actor() { if (!mailbox) { // Lazy constructed because this can be costly and // the ResourceTransform is not used by many apps. - mailbox = std::make_shared<Mailbox>(*util::RunLoop::Get()); + mailbox = std::make_shared<Mailbox>(*Scheduler::GetCurrent()); } return ActorRef<OnlineFileRequest>(*this, mailbox); |