use configure await

This commit is contained in:
JanEggers
2017-09-09 02:06:17 +02:00
parent 783ee4328a
commit 5e417affa5
2 changed files with 2 additions and 2 deletions
@@ -101,7 +101,7 @@ namespace MQTTnet.Implementations
do
{
var read = await _dataStream.ReadAsync(buffer, totalBytes, buffer.Length - totalBytes);
var read = await _dataStream.ReadAsync(buffer, totalBytes, buffer.Length - totalBytes).ConfigureAwait(false);
if (read == 0)
{