Skip to content

Commit

Permalink
Fix potential issue with output stream on SendBufferAsync (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes committed Nov 3, 2017
1 parent 55f68e7 commit e3bd5c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ public async Task<uint> SendBufferAsync(byte[] buffer, TimeSpan waiTimeout, Canc
finally
{
// detach stream
outputStreamWriter.DetachStream();
outputStreamWriter?.DetachStream();
outputStreamWriter = null;
}
}
Expand Down

0 comments on commit e3bd5c9

Please sign in to comment.