Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Multiple calls to mrb_gc_(un)register for the same object #3160
I wrote a program illustrating this issue. Here we call a C function with two arguments, keeping only one of them from being collected. But if both arguments are actually the same object, the program will crash.
In theory I could ensure on C side that