Uh oh!
There was an error while loading. Please reload this page.
Nullability annotations for HttpListener - #41189
Conversation
ghost
commented
Aug 21, 2020
Tagging subscribers to this area: @dotnet/ncl |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| int length = (int)_memoryStream.Length; | ||
| byte[] buffer = _memoryStream!.GetBuffer(); | ||
| int length = (int)_memoryStream!.Length; | ||
| _memoryStream = null; |
There was a problem hiding this comment.
@aik-jahoda shouldn't we call _memoryStream.Dispose() here? I find it weird that it is being set to null.
I ask because this is what forced Prashanth to make _memoryStream nullable.
There was a problem hiding this comment.
I wouldn't change behaviour now but create follow up work for .NET 6. I'm fine with nullable _memoryStream since we have this discussion recorder here for future fix.
cc @aik-jahoda@jozkee@krwq