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
`Weak.get_copy` doesn't copy custom block (fix MPR#7279) #710
Aren't you breaking the GC invariant that every reachable block must be marked at the end of marking? If the value happens to be reachable only through the weak pointer, you're returning a pointer to a block that will never be marked, which will become a dangling pointer during the sweep phase.