在项目中遇到了使用完GPUImage以后,内存不释放的问题,翻阅官方API,找到了解决方法:

    deinit{

        GPUImageContext.sharedImageProcessingContext().framebufferCache.purgeAllUnassignedFramebuffers()

    }


相关文章:

  • 2021-07-22
  • 2021-11-08
  • 2021-12-02
  • 2021-07-25
  • 2023-02-12
  • 2022-12-23
  • 2021-09-08
  • 2022-01-01
猜你喜欢
  • 2021-08-08
  • 2022-01-30
  • 2021-08-18
  • 2022-12-23
  • 2021-12-31
相关资源
相似解决方案