closes #14
This commit is contained in:
@@ -74,6 +74,10 @@ JSValue actor2js(JSContext *js, cell_rt *actor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
JSC_CCALL(os_createactor,
|
JSC_CCALL(os_createactor,
|
||||||
|
cell_rt *rt = JS_GetContextOpaque(js);
|
||||||
|
if (rt->disrupt)
|
||||||
|
return JS_ThrowInternalError(js, "Can't start a new actor while disrupting.");
|
||||||
|
|
||||||
void *startup = value2wota(js, argv[0], JS_UNDEFINED);
|
void *startup = value2wota(js, argv[0], JS_UNDEFINED);
|
||||||
create_actor(startup);
|
create_actor(startup);
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
$_.unneeded(_ => {
|
$_.unneeded(_ => {
|
||||||
log.console("Unneded function fired.");
|
log.console("Unneded function fired.");
|
||||||
$_.unneeded($_.stop, 1);
|
$_.start(undefined, "unneeded")
|
||||||
}, 1);
|
}, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user