视频小程序组件控制 createVideoContext 提供销毁方法

3588关注13180浏览

希望提供  VideoContext 的销毁方法可以在页面unload的时候调用


不然在页面跳转多次后会报下面错误

possible eventEmitter memory leak detected %d listeners added. Use emitter.setMaxListeners() to increase limit .11


- 希望提供的能力

希望提供  VideoContext 的销毁方法可以在页面unload的时候调用

共4条回答
  • Lola
    7年前

    这个问题有答复了吗

    1 20

  • Sally1
    7年前

    遇到一样的问题。一个视频列表,点击播放几个之后就会报内存那个错误了,然后就崩溃

    0 14

  • Alan
    7年前

    是怎么使用VideoContext的呢

    1 8

  • Claire
    7年前

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

    4 1

发送