ddd6e31dee
This CL makes experimental invalidation work on DillLibraryBuilders, and solves all found issues (e.g. old references (aka leaks)) with it. Note: This CL introduces a few writes that seems weird (e.g. setting variables that's about to be out-of-scope to null). This is done to prevent "leaks", or probably more likely, prevent a "false positive" leak detection and it currently gives a "clean bill of health" from the leak detector. Change-Id: I5b01df6e9ede710a5b624a8a4c21015214140318 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134288 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>