Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这种处理[TimerObject fireTimer]报错的方法是否可行? #135

Open
sharehoney opened this issue Jan 5, 2023 · 4 comments
Open

Comments

@sharehoney
Copy link

集成了保利威直播的SDK,多处调用[TimerObject fireTimer]时报错。

后来发现:

在 NSTimer+CleanTimer.m中 把 @Property(nonatomic,readwrite,【weak】)id target 改成 【strong】可以避免,

但是【不确定】这样 是否会造成循环引用。

@jezzmemo
Copy link
Owner

jezzmemo commented Jan 6, 2023

多处报错是什么意思?crash还是异常信息?

@sharehoney
Copy link
Author

crash了,不过 JJException 拦截住了,App可以继续运行。

@jezzmemo
Copy link
Owner

jezzmemo commented Jan 6, 2023

明白了,有没导致你的功能不正常?

@sharehoney
Copy link
Author

现在只是在打开直播页面的时候会出现这种情况,还没发现会影响到其他地方。

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

No branches or pull requests

2 participants