487 B
487 B
This will happen in one of two cases generally:
- One uses
weakSelf
but forgot to declare it weak first. - One is using
strongSelf
, declared in a block, in another (inside) block. This changes the delicate balance of theweakSelf
/strongSelf
use in the first block. The retain cycle is avoided there becausestrongSelf
is a local variable to the block. IfstrongSelf
is used in the inside block, then it's not a local variable anymore, but a captured variable.