BloodMagic
BloodMagic copied to clipboard
Removed unused weak pointer to target
It crashes app if trying to access injected property right in object dealloc
@k06a could you provide an example project? I want to investigate first.
Ok, I'll provide it in a few days. Can you comment what weakSender is doing in this code? Looks like weakness is really have no influence in that exact place.
Here is problem description with weak pointer creation in dealloc: http://stackoverflow.com/questions/19907616/how-can-i-reference-weak-self-in-dealloc-method
Creating __weak
from __strong
to create __strong
again when passing argument to block is really useless, but cause a crash if occurs in sender
's dealloc.