1
This commit is contained in:
@@ -463,9 +463,9 @@ namespace BITKit.Net
|
||||
|
||||
while (true)
|
||||
{
|
||||
if ((_now - startTime).TotalSeconds > 5 || IsConnected is false)
|
||||
if ((_now - startTime).TotalSeconds > 5)
|
||||
{
|
||||
//await BITApp.SwitchToMainThread();
|
||||
await BITApp.SwitchToMainThread();
|
||||
if (string.IsNullOrEmpty(path))
|
||||
{
|
||||
throw new TimeoutException("请求超时或已断开连接");
|
||||
|
Reference in New Issue
Block a user