webdev icon indicating copy to clipboard operation
webdev copied to clipboard

`yieldControlToDDS` should disconnect non-DDS clients

Open elliette opened this issue 1 year ago • 0 comments

yieldControlToDDS (added here: https://github.com/dart-lang/webdev/pull/1092) currently checks if there is an existing client, and returns false if so.

In fact, DDS should only fail to start if there's an existing DDS instance. In the case of existing clients, the existing clients should be disconnected.

See comment: https://github.com/dart-lang/webdev/pull/2392#discussion_r1539488290

elliette avatar Mar 26 '24 23:03 elliette