public void Stop() { m_listener.Stop(); State = DispatcherState.Stopped; }
/// <summary> /// Stop the world running /// </summary> public void Stop() { //Kill the update thread m_updateWorld = false; m_worldUpdateThread.Join(); //Stop listening for new connections m_tcp.Stop(); }