Method code for $sys.shutdown()

[Turn off line numbering]
  1: var opt, str, obj;
  2: 
  3: (> .perms(sender(), $sys) <);
  4: 
  5: // tell startup objects that we are closing shop
  6: for obj in (startup['objects]) {
  7:     .log("Calling " + obj + ".shutdown()");
  8:     catch any
  9:         (> obj.shutdown() <);
 10:     with
 11:         .log($parse_lib.traceback(traceback()));
 12: }
 13: touched = 0;
 14: return shutdown();

["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark