fossasia / susi_iOS

SUSI AI iOS app http://susi.ai
Apache License 2.0
1.87k stars 139 forks source link

Fixed memory issue #503

Closed raghavbabbar closed 5 years ago

raghavbabbar commented 5 years ago

Current : in current App the memory allocated by SkillListingVC And Sometime SkillDetailVC is not deallocated due to retain cycle

To check this you can override destructor of class or you can see in memory debugger

Changes: Use of WEAK SELF instead of Self and followed the Delegation pattern instead of passing strong reference

raghavbabbar commented 5 years ago

Please resolve the conflicts

Done