Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

【iOS】使用animation.transition修改image宽高crash #2064

Closed
winfredgit opened this issue Jan 18, 2019 · 3 comments
Closed

【iOS】使用animation.transition修改image宽高crash #2064

winfredgit opened this issue Jan 18, 2019 · 3 comments
Assignees

Comments

@winfredgit
Copy link

Describe the bug

下载完远程图片后,使用animation.transition修改image宽高,在iOS端WXTransition类会发生crash。

To Reproduce

多张图片从网络请求下载,load事件后使用animation.transition修改image宽高,在iOS设备运行,一次没崩溃,返回进入多试几次,必崩溃。
*** -[WXTransition transitionOptions]: message sent to deallocated instance 0x600001915d00

Environment

  • Device: [iPhone7、iPhone X、模拟器]
  • OS: [iOS12]
  • Version [0.20.1、0.20.3.0-beta]

Screenshots

image

@acton393
Copy link
Member

@winfredgit
It is due to access by multithread, you can try return a copy of unsafe dictionary object.
image
here

@wqyfavor
Copy link
Member

已修复,谢谢反馈。#2111

@winfredgit
Copy link
Author

已修复,谢谢反馈。#2111

但cocoapods还没有发布修复后的版本是吗?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants