请问 我使用Python 调用Device(udid) 后 如果将这个连接回收掉呢
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 469
- PR merge metrics
- No merged PRs in 30d
Description
Python 直接调用Device() 这个类 现在出现的问题是 一但我调用完以后,把手机拔掉就会报 drain error

请问 有什么办法可以在使用完以后,把socket链接手动回收吗?
调用的方法

Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Python Device() call and trace the socket teardown associated with the reported drain error; reproduce the problem by disconnecting the phone after use. Done means there is a documented or tested way to release the connection without triggering the drain error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, python
- Domain
- mobile-dev, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100