I’ve been doing a little memory debugging on an app that uses couchbase-lite-ios, and I’ve noticed that Xcode pretty consistently suggests that there’s a two-node cycle between CBLRestPuller and CBLRemoteSession, and that leads to leaks of anything either class references.
I don’t know the couchbase-lite-ios internals well enough to suggest that this is truly a problem. It might be that Xcode’s analysis catches a potential problem that, in reality, if I dug into the code in great detail, I would be able to understand that it isn’t a problem.
Having said that, since I’m seeing it, I thought I’d point it out and let those of you who do know the code decide if it’s a problem. By way of example: