From 3e33533276bce959044f0ed899c25fbdd794c589 Mon Sep 17 00:00:00 2001 From: Reece Date: Thu, 15 Jul 2021 17:28:45 +0100 Subject: [PATCH] [-] Remove a scope I was using with SysBenchmark --- Source/Async/Schedular.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Async/Schedular.cpp b/Source/Async/Schedular.cpp index 55a19f76..9c202a5b 100644 --- a/Source/Async/Schedular.cpp +++ b/Source/Async/Schedular.cpp @@ -53,10 +53,10 @@ namespace Aurora::Async while (!thread->Exiting()) { - { - Threading::SleepNs(1000000 / 2 * gRuntimeConfig.async.schedularFrequency); - } AuList pending; + + Threading::SleepNs(1000000 / 2 * gRuntimeConfig.async.schedularFrequency); + GetDispatchableTasks(pending); for (auto &entry : pending)