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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user