mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
ea8485e967
It's not supported, as it would prevent the value from being garbage collected, defeating the purpose of Finalizer. Not sure if an exception is worth it, so added the assert as suggested in the bug tracker. TEST=vm/dart{,_2}/finalizer/finalizer_attach_checks_token_test Bug: #52731 Change-Id: Id7b457ca1a95e71c1a43d2d2c8569c35659952b2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/311020 Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Slava Egorov <vegorov@google.com> |
||
---|---|---|
.. | ||
concurrency | ||
vm |