merge jsobject to jsrecord

This commit is contained in:
2026-01-31 11:36:07 -06:00
parent b79e07f57b
commit 3c59087c0c
2 changed files with 227 additions and 432 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -122,7 +122,7 @@ void actor_free(cell_rt *actor)
JS_FreeValue(js, actor->message_handle);
JS_FreeValue(js, actor->on_exception);
JS_FreeValue(js, actor->unneeded);
JS_FreeAtom(js, actor->actor_sym);
JS_FreeValue(js, actor->actor_sym);
/* Free timer callbacks stored in actor */
for (int i = 0; i < hmlen(actor->timers); i++) {
@@ -332,7 +332,7 @@ cell_rt *create_actor(void *wota)
actor->message_handle = JS_NULL;
actor->unneeded = JS_NULL;
actor->on_exception = JS_NULL;
actor->actor_sym = JS_ATOM_NULL;
actor->actor_sym = JS_NULL;
arrsetcap(actor->letters, 5);