3c18a7b0dc
Make sure that socket exceptions do not bubble out of the JSON RPC layer as uncaught exceptions. Make sure that timeline recording stops if client that started it disconnects. Fixes https://github.com/dart-lang/sdk/issues/62534 TEST=expanded existing test Change-Id: I000568a7ab4d7a622567d5f1bbf5dfaf6a6a6964 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/495381 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Slava Egorov <vegorov@google.com>