mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
df0a44d405
Instead of locking the VM and making a copy on auxiliary thread, track number of references using Rust ref counter. This should also help reducing number of used references (they are limited to to 1M usually) on auxiliary thread.