mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
Fix NullReferenceException when calling Ping (#1834)
* Check connection status before doing ping * Fix broken reconnect sample * Update ReleaseNotes.md
This commit is contained in:
@@ -430,6 +430,9 @@ public static class Client_Connection_Samples
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Console.WriteLine("Press <Enter> to exit");
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user