| 207 | { |
| 208 | QWriteLocker locker(&lock()); |
| 209 | foreach (QObject *component, m_components) { |
| 210 | disconnect(component, SIGNAL(destroyed(QObject*)), this, SLOT(deleteSelf(QObject*))); |
| 211 | aggregateMap().remove(component); |
| 212 | } |
| 213 | components = m_components; |
| 214 | m_components.clear(); |
| 215 | aggregateMap().remove(this); |