b87a2bf9ae
TSAN reported this as a data race between the native resolution reading the resolver function when the compactor could move it. Fix a similar pattern in reload. Bug: https://github.com/dart-lang/sdk/issues/39611 Change-Id: Ia62a8201aacfe105697d4af6dc6724fbc513dbfc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139540 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>