Browse Source

2010-01-07 Atsushi Enomoto <[email protected]>

	* ChannelDispatcher.cs : make sure to unlock channel acceptor wait
	  handle when the delegated method resulted in an error.


svn path=/trunk/mcs/; revision=149162
Atsushi Eno 16 years ago
parent
commit
3626d9fdcd

+ 5 - 0
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ChangeLog

@@ -1,3 +1,8 @@
+2010-01-07  Atsushi Enomoto  <[email protected]>
+
+	* ChannelDispatcher.cs : make sure to unlock channel acceptor wait
+	  handle when the delegated method resulted in an error.
+
 2009-12-26  Atsushi Enomoto  <[email protected]>
 
 	* ChannelDispatcher.cs : close such channels that failed to receive

+ 1 - 0
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ChannelDispatcher.cs

@@ -378,6 +378,7 @@ namespace System.ServiceModel.Dispatcher
 					} catch (Exception ex) {
 						Console.WriteLine ("Exception during finishing channel acceptance.");
 						Console.WriteLine (ex);
+						creator_handle.Set ();
 					}
 				};
 				return delegate {