impl-metadata: avoid infinite loop in cleat_items
When we need to remove all items, copy the storage to a temporary array and clear the storage. When one of the callbacks would add a new item to the storage it would operate on the new empty storage and the loop to iteratively clear subjects would be able to complete. Fixes #1622
Loading
Please register or sign in to comment