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:
parent
36aa465a21
commit
92a3b91999
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue