Exemple #1
0
        private void resetServer()
        {
            if (_server != null)
            {
                _server.SafeDispose();
            }

            _server = _application.BuildApplication().RunEmbedded(runningFolder(), _input.PortFlag);
        }
 public static void Shutdown()
 {
     if (_server != null)
     {
         _server.SafeDispose();
     }
 }
Exemple #3
0
 public static void Shutdown()
 {
     _server.SafeDispose();
 }
 public void TearDown()
 {
     FubuMode.Reset();
     server.SafeDispose();
 }
 public void ShutDown()
 {
     _server.SafeDispose();
 }