Azure / DotNetty

DotNetty project – a port of netty, event-driven asynchronous network application framework
Other
4.09k stars 977 forks source link

MessageToMessageDecoder.cs : 59 #141

Closed egmkang closed 8 years ago

egmkang commented 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.

nayato commented 8 years ago

Thanks for reporting. call to base method is a mistake here. I will patch soon.

nayato commented 8 years ago

fixed in #142