What happens to retained blocks when the retainer is deallocated?

54 Views Asked by At

Let SomeObject have a member variable _someBlock. SomeObject starts an operation which will cause _someBlock to be executed later. Sometime before the block execution, SomeObject is deallocated.

What happens to _someBlock? Will it be executed or will there be a cascading deallocation causing it to never be executed?

0

There are 0 best solutions below