Exemplo n.º 1
0
 // Perform expensive serialization all at once. Do this before signal handler is setup.
 public static void Init()
 {
     Shutdown.ShutdownEvent += OnShutdown;
     ConnectionHandler.Init();
     initialized = true;
 }
Exemplo n.º 2
0
		static internal void MarkHandlerAsKilled (ConnectionHandler handler)
		{
			lock (live_handlers) {
				live_handlers.Remove (handler);

				if (handler is HttpConnectionHandler)
					item_handlers.Remove (((HttpConnectionHandler) handler).Guid);
			}
		}