3lvis/Form

Memory leaks in demo project (and so in projects using the lib)

AnthoPakPak opened this issue · 0 comments

Hi everybody,

While profiling my project in Instruments, I've noticed that my view controller using Form was generating a memory leak. I've tried to find the culprit but I didn't succeeded.

I've found that the demo project (Basic-ObjC in my case) is also concerned. As I'm not really good at debugging memory leaks and retain cycles, I asking for your help/ideas.

What I've found using Instruments and tools MLeaksFinder & FBRetainCycleDetector :

  • When dismissing a popover, a memory leak is detected (it seems to come from FORMFieldValuesTableViewController but I'm not really sure about this)
  • When dismissing the view controller containing the form, a leak is detected on UICollectionView

If anyone has a clue, I would be really grateful ! 😊