aliyun / alibabacloud-httpdns-android-sdk

alibabacloud-httpdns-android-sdk
MIT License
51 stars 11 forks source link

IPRankingTask socket not close #7

Open openproject opened 8 months ago

openproject commented 8 months ago

Describe the bug

image

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Logs old version log as below, but the latest code has the same issue: java.lang.Throwable: Explicit termination method 'close' not called at dalvik.system.CloseGuard.openWithCallSite(CloseGuard.java:288) at dalvik.system.CloseGuard.open(CloseGuard.java:257) at java.net.AbstractPlainSocketImpl.create(AbstractPlainSocketImpl.java:137) at java.net.Socket.createImpl(Socket.java:514) at java.net.Socket.connect(Socket.java:644) at com.alibaba.sdk.android.httpdns.probe.c.a(Unknown Source:22) at com.alibaba.sdk.android.httpdns.probe.c.run(Unknown Source:19) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)

Environment (please complete the following information):

Additional context Add any other context about the problem here.