summaryrefslogtreecommitdiff
path: root/src/managers/eventLoop/EventLoopTimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/eventLoop/EventLoopTimer.cpp')
-rw-r--r--src/managers/eventLoop/EventLoopTimer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/eventLoop/EventLoopTimer.cpp b/src/managers/eventLoop/EventLoopTimer.cpp
index d4633b0d..fa86c861 100644
--- a/src/managers/eventLoop/EventLoopTimer.cpp
+++ b/src/managers/eventLoop/EventLoopTimer.cpp
@@ -14,13 +14,13 @@ CEventLoopTimer::CEventLoopTimer(std::optional<Time::steady_dur> timeout, std::f
void CEventLoopTimer::updateTimeout(std::optional<Time::steady_dur> timeout) {
if (!timeout.has_value()) {
m_expires.reset();
- g_pEventLoopManager->nudgeTimers();
+ g_pEventLoopManager->scheduleRecalc();
return;
}
m_expires = Time::steadyNow() + *timeout;
- g_pEventLoopManager->nudgeTimers();
+ g_pEventLoopManager->scheduleRecalc();
}
bool CEventLoopTimer::passed() {