EventEmitter memory leak detected

发布于 7 年前作者 ping623016 次浏览最后编辑 7 年前来自 ask

列表中包含多个video组件,调用wx.createVideoContext(this.data.uniqueId,this),就出现这个warning。该如何处理,不影响代码运行

1 回复
xiongqiang
xiongqiang1 楼5 年前

已知问题,这是createVideoContext调用过多导致的,建议createVideoContext之后把context先存起来供后续使用。