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 351fd43 commit bc97372Copy full SHA for bc97372
src/net45/WampSharp/WAMP2/V2/Transports/PingPongHandler.cs
@@ -54,7 +54,13 @@ private async void Ping()
54
try
55
{
56
byte[] ticks = GetCurrentTicks();
57
- await mPinger.SendPing(ticks).ConfigureAwait(false);
+ Task pingTask = mPinger.SendPing(ticks);
58
+
59
+ if (pingTask != null)
60
+ {
61
+ await pingTask.ConfigureAwait(false);
62
+ }
63
64
await Task.Delay(mAutoSendPingInterval.Value).ConfigureAwait(false);
65
}
66
catch (Exception ex)
0 commit comments