[dds/dap] Handle some additional kinds of errors when the VM Service connection shuts down
This handles an RPC Error -32000 with text "Service connection disposed" as reported in https://github.com/dart-lang/sdk/issues/60851. It extracts some of this logic into an extension on RPCError to simplify checking in multiple places.
Unfortunately I can't reproduce the specific conditions that produce this error in a test (it probably requires terminated the VM Service at just the right time during startup or an isolate starting?).
Fixes https://github.com/dart-lang/sdk/issues/60851
Change-Id: Iae945f60290766164d04b91d851fbb8b58f178c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/432944
Reviewed-by: Derek Xu <derekx@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
https://dart.googlesource.com/sdk/+/e891cac045af1ecd87c9354d295e502cc38cdc6d
diff --git a/DEPS b/DEPS
index 488a104..1f530d1 100644
--- a/DEPS
+++ b/DEPS
@@ -235,7 +235,7 @@
]
deps = {
- 'flutter/engine/src/flutter/third_party/dart': Var('dart_git') + '/sdk' + '@' + 'bf9acedc73785fa75222c934a86b97b16859fac9',
+ 'flutter/engine/src/flutter/third_party/dart': Var('dart_git') + '/sdk' + '@' + 'e891cac045af1ecd87c9354d295e502cc38cdc6d',
'flutter': Var('flutter_git') + '/mirrors/flutter' + '@' + '6e738ee3929f60e3fd373a06eb9fe6f6da4eb4cb',
diff --git a/commits.json b/commits.json
index bc17de8..78f3ec9 100644
--- a/commits.json
+++ b/commits.json
@@ -1,4 +1,4 @@
{
"flutter":"6e738ee3929f60e3fd373a06eb9fe6f6da4eb4cb",
- "flutter/engine/src/flutter/third_party/dart":"bf9acedc73785fa75222c934a86b97b16859fac9"
+ "flutter/engine/src/flutter/third_party/dart":"e891cac045af1ecd87c9354d295e502cc38cdc6d"
}
\ No newline at end of file