Skip to content

v4.5.75

Choose a tag to compare

@CodeJhF CodeJhF released this 08 Jul 12:08

主要修改内容:

(1)修复 OpenHarmony 平台 EGLHardwareTexture 中 OHNativeWindowBuffer 泄漏问题(更新 tgfx)。

(2)修复 OpenHarmony 平台 release() 与 OnSurfaceDestroyedCB 竞争同一互斥锁导致的死锁。

(3)修复复用 PAGView 播放不同 VideoComposition 文件时 Android 原生内存泄漏。

(4)修复 lite 微信环境下 Android 画面变形与 interval timer 泄漏问题。

(5)修复 Swift 6 严格并发模式下 PAGView / PAGImageView 监听器崩溃。

(6)修复 iOS PAGView 因与动画线程竞争导致的 dealloc 崩溃。

(7)修复 iOS PAGAnimator 异步动画更新时的野指针崩溃。

(8)修复 iOS PAGImageView 无法播放远程 URL PAG 文件的问题。

(9)修复关闭动画时长缩放时 PAGAnimator.start() 缺少 onAnimationStart 回调的问题。

(10)在待处理的 flush 任务上增加等待超时,避免硬件视频解码器卡住时主线程 ANR。

(11)通过将 flush 与渲染锁串行化,修复 PAGView surface detach 时的 fdsan 崩溃。

Main modifications:

(1) Fix the OHNativeWindowBuffer leak in EGLHardwareTexture on OHOS by updating tgfx.

(2) Fix the OHOS deadlock when release() and OnSurfaceDestroyedCB race for the same mutex.

(3) Fix Android native memory leak when reusing PAGView for different VideoComposition files.

(4) Fix Android display distortion and interval timer leak in lite WeChat.

(5) Fix Swift 6 strict concurrency crash in PAGView and PAGImageView listeners.

(6) Fix iOS PAGView dealloc crash caused by a race condition with the animation thread.

(7) Fix the wild pointer crash on async animation update in iOS PAGAnimator.

(8) Fix PAGImageView being unable to play PAG files from remote URLs on iOS.

(9) Fix PAGAnimator.start() missing the onAnimationStart callback when animator duration scale is turned off.

(10) Add a wait timeout on the pending flush task to prevent main thread ANR when the hardware video decoder hangs.

(11) Fix the fdsan crash on PAGView surface detach by serializing flush with the render lock.