From what I can tell, some destructor that Rust registers ends up trying to modify or read KEYS as well, so we end up deadlocking because the lock was already held when we call that destructor.
I also made a change to set the args to null so we don't end up with lingering references to destructor args after running the destructor.
Fixes #30
From what I can tell, some destructor that Rust registers ends up trying to modify or read
KEYS
as well, so we end up deadlocking because the lock was already held when we call that destructor.I also made a change to set the args to
null
so we don't end up with lingering references to destructor args after running the destructor.