2cf6ba2d55
This will hopefully fix the flaky tests noted in https://github.com/dart-lang/sdk/issues/55313. I believe when we resume from pause-on-exit, the VM might shut down fast enough that the response is not handled and throws "Service connection disposed" (see https://github.com/dart-lang/sdk/issues/55313#issuecomment-2376593906). This change will discard any known shutdown errors while sending the request instead. Change-Id: I7c10aa3eddd6e651114ddba948b0a17688352720 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/386806 Reviewed-by: Helin Shiah <helinx@google.com> Commit-Queue: Helin Shiah <helinx@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>