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