feat(core/event): 添加 event 资源清理和重置接口

This commit is contained in:
2026-04-13 03:46:21 +08:00
parent 637f658318
commit 0c24fb2a32
6 changed files with 57 additions and 4 deletions

View File

@@ -97,5 +97,7 @@ void runtime_run(runtime_t *runtime) {
if (!backend_next_event(runtime->backend, &event)) {
break;
}
event_cleanup(&event);
}
}