alibaba / coobjc

coobjc provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc.
https://github.com/alibaba/coobjc
Apache License 2.0
4.03k stars 525 forks source link

fix memory leak #115

Open dorentus opened 2 years ago

dorentus commented 2 years ago

Summary

ivar should be released when deallocing or the empty NSMutableArray will be leaked.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

Thanks for contributing to coobjc!

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.