Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS没有调用_release #303

Closed
yx-mike opened this issue May 19, 2023 · 1 comment
Closed

iOS没有调用_release #303

yx-mike opened this issue May 19, 2023 · 1 comment

Comments

@yx-mike
Copy link

yx-mike commented May 19, 2023

问题

FairWidget在dispose之后,会进行清理回收。
但是发现js中,GLOBAL中那些value一直存在,没有被回收。

Android也有回收的。

目前,我是自己拉分支改了,在调用“onUnload”方法之后,调用“releaseJS”。

环境信息

flutter doctor --verbose
[✓] Flutter (Channel vd/main, 2.5.1042, on macOS 13.3.1 22E772610a darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.5.1042 at /Users/hxd/Documents/flutter/flutter
    • Upstream repository ssh://git@gitlab.vdian.net:60022/flutter/flutter.git
    • Framework revision a8cad5e28c (7 months ago), 2022-10-27 11:59:08 +0800
    • Engine revision b3af521a05
    • Dart version 2.14.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

提供Fair版本号

dependencies:
  fair: 3.0.0

复现操作【可选】

我在Safari开发窗口,控制台打印了GLOBAL,发现只增没减。console.log发现,并没有调用fair_core.js中的_relase方法

@Alzzzz
Copy link
Contributor

Alzzzz commented Nov 24, 2023

fixed #371

@Alzzzz Alzzzz closed this as completed Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants