We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e654d66 commit 65ca872Copy full SHA for 65ca872
src/BootstrapBlazor/Services/WebClientService.cs
@@ -46,8 +46,9 @@ public async Task<ClientInfo> GetClientInfo()
46
// 等待 SetData 方法执行完毕
47
try
48
{
49
- await _taskCompletionSource.Task.WaitAsync(TimeSpan.FromSeconds(1));
+ await _taskCompletionSource.Task.WaitAsync(TimeSpan.FromSeconds(3));
50
}
51
+ catch (TimeoutException) { }
52
catch (Exception ex)
53
54
logger.LogError(ex, "method GetClientInfo failed");
0 commit comments