Brunet.Transport.TcpEdgeListener.Stop C# (CSharp) Method

Stop() public method

public Stop ( ) : void
return void
    public override void Stop()
    {
      ActionQueue.Enqueue(new StopAction());

      //Don't join on the current thread, that would block forever
      if(Thread.CurrentThread != _loop ) {
        _loop.Join();
      }
      base.Stop();
    }