Tencent / VasSonic

VasSonic is a lightweight and high-performance Hybrid framework developed by tencent VAS team, which is intended to speed up the first screen of websites working on Android and iOS platform.
Other
11.8k stars 1.61k forks source link

Fix memory leaks in iOS #265

Closed zhongwuzw closed 5 years ago

zhongwuzw commented 5 years ago

I strongly recommend that transition iOS to ARC, just like discussion in #259 , I think ARC is more safety, robust and memory friendly.

This PR fixes:

  1. Memory leaks of NSDateFormatter.
  2. Memory leaks of NSURLSession and related classes.
  3. Memory leaks of SonicConnection.
  4. Memory leaks of delegateQueue in SonicConnection.
  5. ...... any related memory leaks.