b53ea77e6b
This is a follow-up to [0] and fixes TSAN. This is a follow-up to [1] and fixes ASAN (restored old code with comment) [0] https://dart-review.googlesource.com/c/sdk/+/143817 [1] https://dart-review.googlesource.com/c/sdk/+/144260 Change-Id: I30cf8409e742785a923b6e48ffb050fff1c808c9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/144295 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Auto-Submit: Martin Kustermann <kustermann@google.com>