Commit 1a2eec1c authored by Richard Braakman's avatar Richard Braakman

bugfix: cleanup m_unknownResolveAddresses

This QList was not scanned when unregistering a listener, even though
it does contain listener pointers.
parent be2e8f40
......@@ -682,6 +682,15 @@ void SeasideCache::unregisterResolveListener(ResolveListener *listener)
++it2;
}
}
QList<ResolveData>::iterator it3 = instancePtr->m_unknownResolveAddresses.begin();
while (it3 != instancePtr->m_unknownResolveAddresses.end()) {
if (it3->listener == listener) {
it3 = instancePtr->m_unknownResolveAddresses.erase(it3);
} else {
++it3;
}
}
}
void SeasideCache::setNameGrouper(SeasideNameGrouper *grouper)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment