- [x] system metadata (including the `param` reference) stored in the lua state should be registered as collectible to fix resource leaks with `ecs.init()` - [ ] `ecs_iter_t` should be userdata - [ ] make iterators with only shared terms usable
system metadata (including the
paramreference) stored in the lua state should be registered as collectible to fix resource leaks withecs.init()ecs_iter_tshould be userdatamake iterators with only shared terms usable