static void Main(string[] args) { IServer serverApp = new ServerApplication(); serverApp.SetUp(); AddDefaultRooms(); FN.Logger.Info($"FrameRate {FN.Settings.FrameRate}"); Run(serverApp); serverApp.TearDown(); }
protected override void OnStopRequested() { ServerApplication.TearDown(); base.OnStopRequested(); }
protected override void TearDown() { ServerApplication.TearDown(); }