Method code for $sys.shutdown()

[Turn on line numbering]
var opt, str, obj;

(> .perms(sender(), $sys) <);

// tell startup objects that we are closing shop
for obj in (startup['objects]) {
    .log("Calling " + obj + ".shutdown()");
    catch any
        (> obj.shutdown() <);
    with
        .log($parse_lib.traceback(traceback()));
}
touched = 0;
return shutdown();

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

the Cold Dark