Fix infinite loop in sample (#1324)
This commit is contained in:
parent
d38764a8f0
commit
87288822a3
|
|
@ -92,10 +92,10 @@ namespace ClientSample
|
|||
// Keep trying to until we can start
|
||||
while (true)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
await connection.StartAsync();
|
||||
return;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue