Skip to content
Commit 49a0250e authored by Wim Taymans's avatar Wim Taymans
Browse files

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
parent afb37dd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment