fix multiple main thread actors not working
This commit is contained in:
@@ -174,6 +174,8 @@ JSC_CCALL(actor_clock,
|
||||
l.callback = JS_DupValue(js, argv[0]);
|
||||
arrput(actor->letters, l);
|
||||
SDL_UnlockMutex(actor->msg_mutex);
|
||||
printf("actor %s clocked\n", actor->id);
|
||||
set_actor_state(actor);
|
||||
)
|
||||
|
||||
static const JSCFunctionListEntry js_actor_funcs[] = {
|
||||
|
||||
Reference in New Issue
Block a user