mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 02:13:00 +08:00
Fix nullref exception in connection handler.
This commit is contained in:
@@ -105,7 +105,7 @@ namespace MQTTnet.Server
|
||||
|
||||
StopInternal();
|
||||
|
||||
await _packageReceiverTask;
|
||||
await (_packageReceiverTask ?? PlatformAbstractionLayer.CompletedTask);
|
||||
}
|
||||
|
||||
public void ResetStatistics()
|
||||
|
||||
Reference in New Issue
Block a user