// Called to indicate that the region is going away. public void RemoveRegion(Scene scene) { if (m_enabled) { m_keepalive.running = false; GetServerManager(scene).Channel.Close(); GetServerManager(scene).Dispose(); m_server.stop(); } }
public void Close() { if (m_enabled) { m_keepalive.running = false; m_keepalive_t.Abort(); m_server.stop(); } }
public bool Stop() { try { if (_server.isRunning()) { _server.stop(); SetConf("boot", "false"); } return(true); } catch { return(false); } }