| 220 | } |
| 221 | |
| 222 | void InstanceControl::InstanceList::unlist() |
| 223 | { |
| 224 | if (instanceList == this) |
| 225 | instanceList = next; |
| 226 | |
| 227 | if (next) |
| 228 | next->prev = this->prev; |
| 229 | |
| 230 | if (prev) |
| 231 | prev->next = this->next; |
| 232 | |
| 233 | prev = nullptr; |
| 234 | next = nullptr; |
| 235 | } |
| 236 | |
| 237 | void InstanceControl::destructors() |
| 238 | { |