| 2089 | } |
| 2090 | |
| 2091 | void fxCleanupFinalizationRegistries(txMachine* the) |
| 2092 | { |
| 2093 | txSlot** address = &(mxFinalizationRegistries.value.reference->next); |
| 2094 | txSlot* closure; |
| 2095 | while ((closure = *address)) { |
| 2096 | txSlot* registry = closure->value.closure; |
| 2097 | if (registry->value.finalizationRegistry.flags & XS_FINALIZATION_REGISTRY_CHANGED) { |
| 2098 | fx_FinalizationRegistryCleanup(the, registry, C_NULL); |
| 2099 | address = &(mxFinalizationRegistries.value.reference->next); |
| 2100 | } |
| 2101 | else |
| 2102 | address = &(closure->next); |
| 2103 | } |
| 2104 | } |
| 2105 | |
| 2106 |
nothing calls this directly
no test coverage detected