rm constructors

This commit is contained in:
2026-01-20 12:01:40 -06:00
parent 2b60e3a242
commit 8d601dfce3
10 changed files with 213 additions and 656 deletions

View File

@@ -53,8 +53,6 @@ globalThis.ends_with = function(str, suffix) {
return search(str, suffix, -length(suffix)) != null
}
var js = use_embed('js')
var fd = use_embed('fd')
@@ -166,6 +164,12 @@ globalThis.log = function(name, args) {
function disrupt(err)
{
if (is_function(err.toString)) {
os.print(err.toString())
os.print("\n")
os.print(err.stack)
}
if (overling) {
if (err) {
// with an err, this is a forceful disrupt
@@ -182,7 +186,7 @@ function disrupt(err)
$_.stop(create_actor({id}))
})
}
if (err) {
log.console(err);
if (err.stack)
@@ -192,6 +196,8 @@ function disrupt(err)
actor_mod.disrupt()
}
actor_mod.on_exception(disrupt)
_cell.args = _cell.hidden.init