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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);