merge jsobject to jsrecord
This commit is contained in:
655
source/quickjs.c
655
source/quickjs.c
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user