Concept Flow - Closures causing retain cycles
Create Object A
Object A holds Closure
Closure captures Object A strongly
Strong reference cycle formed
Neither Object A nor Closure deallocated
Memory leak occurs
This flow shows how an object holding a closure that captures the object strongly creates a cycle, preventing deallocation.