* ChannelDispatcher.cs : do not try to wait for channel closer
handle when the loop is not started yet. This fixes lengthy wait
in the nunit tests.
svn path=/trunk/mcs/; revision=141881
+2009-09-14 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ChannelDispatcher.cs : do not try to wait for channel closer
+ handle when the loop is not started yet. This fixes lengthy wait
+ in the nunit tests.
+
2009-09-11 Atsushi Enomoto <atsushi@ximian.com>
* EndpointDispatcher.cs : AddressFilter is always non-null.
public void Stop (TimeSpan timeout)
{
+ if (loop_thread == null)
+ return;
+
loop = false;
creator_handle.Set ();
handle.Set ();