doronz88 / pymobiledevice3

Pure python3 implementation for working with iDevices (iPhone, etc...).
https://discord.gg/52mZGC3JXJ
GNU General Public License v3.0
1.4k stars 194 forks source link

Using start-tunnel in Windows CPU is very high #1105

Open huan1936 opened 3 months ago

huan1936 commented 3 months ago

Test environment

Describe the bug Using start-tunnel in Windows CPU is very high It's been taking up nearly 20% of the CPU. I don't think this is normal.

To Reproduce Steps to reproduce the behavior:

  1. pymobiledevice3 lockdown start-tunnel

Expected behavior After start-tunnel, the CPU usage should not be too high.

Additional context image

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

doronz88 commented 3 months ago

I do not know if it's possible to fix since wintun does not support any API for it to be asyncio. If you think otherwise, please submit a PR