* ChannelDispatcher.cs : make sure to close the request context, some channels such as http keeps opening it. Patch by Levi Bard. Fixed bug #533776. svn path=/trunk/mcs/; revision=142008
@@ -1,3 +1,9 @@
+2009-09-16 Atsushi Enomoto <[email protected]>
+
+ * ChannelDispatcher.cs : make sure to close the request context,
+ some channels such as http keeps opening it. Patch by Levi Bard.
+ Fixed bug #533776.
2009-09-14 Atsushi Enomoto <[email protected]>
* ChannelDispatcher.cs : do not try to wait for channel closer
@@ -532,6 +532,8 @@ namespace System.ServiceModel.Dispatcher
// FIXME: log it.
Console.WriteLine (ex);
} finally {
+ if (rc != null)
+ rc.Close ();
// unless it is closed by session/call manager, move it back to the loop to receive the next message.
if (reply.State != CommunicationState.Closed)
ProcessRequestOrInput (reply);