mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
0c7db4916c
This reverts commit 7332c6a.
Non-static userdata is a special case and can cause segfault if try to serialize it.
Now it should be safe, plus I added non-static userdata destructor to generate better error messages
in case of accessing destructed userdata.