aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-04-08 17:25:17 +0100
committerVaxry <[email protected]>2024-04-08 17:25:17 +0100
commit8f2d1a5e6933833bf623095f19800dafc3f57a6c (patch)
tree4c7ca1eb9b8babb0728f2f7cae85c36d980bd27f
parentcf2aa782e7824fff45ac4612ecaab80017ef6acf (diff)
downloadHyprland-8f2d1a5e6933833bf623095f19800dafc3f57a6c.tar.gz
Hyprland-8f2d1a5e6933833bf623095f19800dafc3f57a6c.zip
FUCKing
-rw-r--r--src/managers/FrameSchedulingManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/FrameSchedulingManager.cpp b/src/managers/FrameSchedulingManager.cpp
index 1edcc623..d89a379b 100644
--- a/src/managers/FrameSchedulingManager.cpp
+++ b/src/managers/FrameSchedulingManager.cpp
@@ -50,6 +50,7 @@ void CFrameSchedulingManager::registerMonitor(CMonitor* pMonitor) {
void CFrameSchedulingManager::unregisterMonitor(CMonitor* pMonitor) {
SSchedulingData* DATA = &m_vSchedulingData.emplace_back(SSchedulingData{pMonitor});
g_pEventLoopManager->removeTimer(DATA->fenceTimer);
+ g_pEventLoopManager->removeTimer(DATA->vblankTimer);
std::erase_if(m_vSchedulingData, [pMonitor](const auto& d) { return d.pMonitor == pMonitor; });
}