It seams that the `WeakReference` in `ObjectHookRegistry` tied to the `IMP` block doesn’t get released. We should likely explicitly unregister it in `ObjectHookStrategy.restoreImplementation()` before removing the imp block.
It seams that the
WeakReferenceinObjectHookRegistrytied to theIMPblock doesn’t get released.We should likely explicitly unregister it in
ObjectHookStrategy.restoreImplementation()before removing the imp block.