internal static bool Shutdown ()
{
lock (shutdown_actions) {
is_shutting_down = true;
while (shutdown_actions.Count > 0) {
Action a;
a = shutdown_actions [shutdown_actions.Count - 1];
shutdown_actions.RemoveAt (shutdown_actions.Count - 1);
a ();
}
}
// Console.WriteLine ("Deployment.Shutdown ()");
return true;
}