예제 #1
0
        static void Main(string[] args)
        {
            IServer serverApp = new ServerApplication();

            serverApp.SetUp();
            AddDefaultRooms();
            FN.Logger.Info($"FrameRate {FN.Settings.FrameRate}");
            Run(serverApp);
            serverApp.TearDown();
        }
예제 #2
0
 protected override void OnStopRequested()
 {
     ServerApplication.TearDown();
     base.OnStopRequested();
 }
예제 #3
0
 protected override void TearDown()
 {
     ServerApplication.TearDown();
 }