atomashpolskiy / bt

BitTorrent library and client with DHT, magnet links, encryption and more
https://atomashpolskiy.github.io/bt/
Apache License 2.0
2.42k stars 381 forks source link

Stopping client and stopWhenDownloaded() throws java.lang.RuntimeException #219

Open zhennik26 opened 1 year ago

zhennik26 commented 1 year ago

Stopping client and stopWhenDownloaded() throws java.lang.RuntimeException I have tried to stop manualy by calling btClient.startAsync(); with function with stops client Also i have found clientBuilder = Bt.client(btRuntime).stopWhenDownloaded()

I expect that after torrent downloads client should correctly stop and deattach from btRuntime

But every time in try to stop and throws java.lang.RuntimeException: Incoming channel @ /192.168.70.1:6891 has been closed, will stop accepting incoming connections...

yk2911533608 commented 1 year ago

请问你们能下载到资源吗?我的情况是项目能正常跑,但是下载不了资源