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
|
// Keep trying to until we can start
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
await connection.StartAsync();
|
await connection.StartAsync();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue