do not unnecessarily block on parses when closing modules

This commit is contained in:
Ryan Fleury
2025-06-25 09:41:48 -07:00
parent 10a49ca331
commit e2eb1cd6d6
2 changed files with 12 additions and 2 deletions
+1
View File
@@ -4681,6 +4681,7 @@ ctrl_thread__next_dmn_event(Arena *arena, DMN_CtrlCtx *ctrl_ctx, CTRL_Msg *msg,
out_evt->entity_id = event->code;
}break;
case DMN_EventKind_UnloadModule:
ProfScope("unload module %.*s", str8_varg(event->string))
{
CTRL_Event *out_evt = ctrl_event_list_push(scratch.arena, &evts);
CTRL_Handle module_handle = ctrl_handle_make(CTRL_MachineID_Local, event->module);