alibaba / alibaba/flutter_boost

混合开发FBFlutterViewContainer释放问题

Open
#1,454 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

v3.0-preview.9
现iOS原生项目,tabBarController中第2个item是flutter页面FBFlutterViewContainer,退出登录后,tabBarController释放,但FBFlutterViewContainer无法释放,tabBarVc.viewControllers = nil;也无效果,FBFlutterViewContainer包裹的dart类不走 dispose方法

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the v3.0-preview.9 setup with an iOS tabBarController whose second item is FBFlutterViewContainer, then log out and observe its release and the wrapped Dart class's dispose call. Compare the behavior after setting tabBarVc.viewControllers = nil; done means the container is released and the Dart dispose method runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.