SIGN IN SIGN UP

Clear weakrefs in garbage found by the GC (#16495)

Fix a bug due to the interaction of weakrefs and the cyclic garbage
collector. We must clear any weakrefs in garbage in order to prevent
their callbacks from executing and causing a crash.
N
Neil Schemenauer committed
bcda460baf25062ab68622b3f043f52b9db4d21d
Parent: c9a413e
Committed by Łukasz Langa <lukasz@langa.pl> on 9/30/2019, 5:06:45 PM