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

【issue】iOS自动化 PBItemCollectionServicer connection disconnected."错误 ,导致页面短暂卡死 #416

Open
1 of 2 tasks
Pycoder0901 opened this issue Mar 5, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@Pycoder0901
Copy link

Search before asking

  • I searched in the issue and found nothing similar. | 我查找了并确认issue列表无相似报告。

Sonic version

最新版本

Deploy platform

macOS

Minimal reproduce step

调试中发现,在iOS设备上短时间内频繁写入剪切板(调用setPasteboard方法),会出现"PBItemCollectionServicer connection disconnected."错误,导致页面短暂卡死。

Are you willing to submit a PR?

  • I'm willing to submit a PR! | 我将发起PR!
@Pycoder0901 Pycoder0901 added the bug Something isn't working label Mar 5, 2024
@Pycoder0901 Pycoder0901 changed the title PBItemCollectionServicer connection disconnected."错误 ,导致页面短暂卡死 【BUG】iOS自动化 PBItemCollectionServicer connection disconnected."错误 ,导致页面短暂卡死 Mar 5, 2024
@Pycoder0901
Copy link
Author

原因:系统API底层实现存在跨进程通信,因为跨进程通信需要与其他进程同步,一旦其他进程发生异常或者挂起,很有可能造成当前 App 卡死。

@ZhouYixun
Copy link
Member

这个方法确实挺麻烦的,但是目前也没有很好的解决方案

@ZhouYixun ZhouYixun added good first issue Good for newcomers and removed bug Something isn't working labels Mar 5, 2024
@ZhouYixun ZhouYixun changed the title 【BUG】iOS自动化 PBItemCollectionServicer connection disconnected."错误 ,导致页面短暂卡死 【issue】iOS自动化 PBItemCollectionServicer connection disconnected."错误 ,导致页面短暂卡死 Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants