Selaa lähdekoodia

2009-08-21 Atsushi Enomoto <[email protected]>

	* ChannelDispatcher.cs : also made reference to host optional.


svn path=/trunk/mcs/; revision=140406
Atsushi Eno 16 vuotta sitten
vanhempi
sitoutus
d577a89aa2

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

@@ -1,3 +1,7 @@
+2009-08-21  Atsushi Enomoto  <[email protected]>
+
+	* ChannelDispatcher.cs : also made reference to host optional.
+
 2009-08-21  Atsushi Enomoto  <[email protected]>
 
 	* ChannelDispatcher.cs : isolated loop manager class from parent,

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

@@ -571,7 +571,7 @@ namespace System.ServiceModel.Dispatcher
 							throw new MultipleFilterMatchesException ();
 					}
 				}
-				if (candidate == null)
+				if (candidate == null && owner.Host != null)
 					owner.Host.OnUnknownMessageReceived (message);
 				return candidate;
 			}