Implement ref updates in new MM (#4653)

This commit is contained in:
Alexander Shabalin
2021-02-01 13:44:10 +03:00
committed by Vasily Levchenko
parent 9e99932b24
commit 04ee3e37e7
10 changed files with 543 additions and 68 deletions
@@ -173,6 +173,7 @@ void BackRefFromAssociatedObject::releaseRef() {
DeinitForeignRef(obj_, context);
// From this moment [context] is generally a dangling pointer.
// This is handled in [IsForeignRefAccessible] and [addRef].
// TODO: This probably isn't fine in new MM. Make sure it works.
}
}