File tree 2 files changed +6
-1
lines changed 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 10
10
- Move ` BuildStepImpl ` to ` build_runner_core ` , use ` SingleStepReader ` directly.
11
11
- Stop building ` transitive_digest ` files by default.
12
12
- Use ` LibraryCycleGraphLoader ` to load transitive deps for analysis.
13
+ - Bug fix: fix delay on shutdown for fast builds when the "analyzer out of
14
+ date" warning is displayed.
13
15
14
16
## 2.4.4
15
17
Original file line number Diff line number Diff line change @@ -550,8 +550,9 @@ class AnalyzerResolvers implements Resolvers {
550
550
void _warnOnLanguageVersionMismatch () async {
551
551
if (sdkLanguageVersion <= ExperimentStatus .currentVersion) return ;
552
552
553
+ HttpClient ? client;
553
554
try {
554
- var client = HttpClient ();
555
+ client = HttpClient ();
555
556
var request = await client.getUrl (
556
557
Uri .https ('pub.dartlang.org' , 'api/packages/analyzer' ),
557
558
);
@@ -616,6 +617,8 @@ SDK language version: $sdkLanguageVersion
616
617
Please ensure you are on the latest `analyzer` version, which can be seen at
617
618
https://pub.dev/packages/analyzer.
618
619
''' );
620
+ } finally {
621
+ client? .close ();
619
622
}
620
623
}
621
624
You can’t perform that action at this time.
0 commit comments