mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 19:58:57 +08:00
Improve session handling.
This commit is contained in:
@@ -93,7 +93,7 @@ namespace MQTTnet.Implementations
|
||||
using (cancellationToken.Register(() => _socket.Dispose()))
|
||||
{
|
||||
await _stream.WriteAsync(buffer, offset, count, cancellationToken).ConfigureAwait(false);
|
||||
await _stream.FlushAsync(cancellationToken);
|
||||
//await _stream.FlushAsync(cancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user