Closed egmkang closed 8 years ago
https://github.com/Azure/DotNetty/blob/dev/src/DotNetty.Codecs/MessageToMessageDecoder.cs#L34 https://github.com/Azure/DotNetty/blob/dev/src/DotNetty.Codecs/MessageToMessageDecoder.cs#L59
line 34 has release the object message, but line 59 use it again. so an exception occured. i'm using StringDecoder write some samples, and found this problem. i have delete line 59 for and the sample run well.
message
StringDecoder
Thanks for reporting. call to base method is a mistake here. I will patch soon.
fixed in #142
https://github.com/Azure/DotNetty/blob/dev/src/DotNetty.Codecs/MessageToMessageDecoder.cs#L34 https://github.com/Azure/DotNetty/blob/dev/src/DotNetty.Codecs/MessageToMessageDecoder.cs#L59
line 34 has release the object
message
, but line 59 use it again. so an exception occured. i'm usingStringDecoder
write some samples, and found this problem. i have delete line 59 for and the sample run well.