mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-11-02 20:36:53 +08:00
fixed core 3.1 startup and verified it still works with 2.1 and net461
This commit is contained in:
@@ -21,7 +21,8 @@ namespace MQTTnet.AspNetCore
|
||||
|
||||
public Task StartAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
return StartAsync(_options);
|
||||
_ = StartAsync(_options);
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public Task StopAsync(CancellationToken cancellationToken)
|
||||
|
||||
Reference in New Issue
Block a user