问题描述:custom-tab-bar 是不是存在泄漏,一直创建,没有析构?
- 采用三个自定义tab之间来回切换,会报错:[Event] 21 listeners of event onBeforeUnloadPage_7 have been added, possibly causing memory leak.
- 回来切换间会触发多次 attached,没有一次detached;
- 特别是切换到没有tab的页面,有时竟然也有attached,但detached始终没有触发过
框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | custom-tab-bar | 微信安卓客户端 | 7.0.15 | 2.12.0 |
问题描述:custom-tab-bar 是不是存在泄漏,一直创建,没有析构?
1 个回答
英雄所见略同