Decrease the static reference-count of this set by one. This set must have a reference-count > 1. If this set reaches the reference-count zero, it will be deleted, and all sub-nodes that also reach the reference-count zero will be deleted as well. @warning Either protect ALL your sets by using reference-counting, or don't use it at all.
| 1164 | ///If this set reaches the reference-count zero, it will be deleted, and all sub-nodes that also reach the reference-count zero |
| 1165 | ///will be deleted as well. @warning Either protect ALL your sets by using reference-counting, or don't use it at all. |
| 1166 | void Set::staticUnref() |
| 1167 | { |
| 1168 | if (!m_tree) |
| 1169 | return; |
| 1170 | |
| 1171 | QMutexLocker lock(m_repository->m_mutex); |
| 1172 | |
| 1173 | unrefNode(m_tree); |
| 1174 | } |
| 1175 | |
| 1176 | StringSetRepository::StringSetRepository(const QString& name, QRecursiveMutex* mutex) |
| 1177 | : Utils::BasicSetRepository(name, mutex) |
no outgoing calls
no test coverage detected