/// <summary>
 ///     Shutdown the server and exit all threads.
 /// </summary>
 public void Dispose()
 {
     OnShutdown();
     if (_dplay != null)
     {
         _dplay.Dispose();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Shutdown the server and exit all threads.
 /// </summary>
 public void Dispose()
 {
     AddEvent(new ReactorShutdownEvent());
     _dplay.Dispose();
 }