3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-02-04 13:35:32 +00:00

anr: remove window on closewindow (#13007)

m_data was never cleaned and continously built up the m_data, remove
the entry on closeWindow.
This commit is contained in:
Tom Englund
2026-01-17 10:23:09 +01:00
committed by GitHub
parent 36aa465a21
commit 92a3b91999

View File

@ -53,8 +53,9 @@ CANRManager::CANRManager() {
d->killDialog();
d->missedResponses = 0;
d->dialogSaidWait = false;
return;
}
std::erase_if(m_data, [&window](auto& w) { return w == window; });
});
m_timer->updateTimeout(TIMER_TIMEOUT);