Skip to content

Conversation

@jschwe
Copy link
Member

@jschwe jschwe commented Sep 17, 2025

Additionally also improve the warning message if the routed receiver disconnects and exit the thread.
If the routed receiver disconnects, we can't receive any canvas messages anymore, and any control messages can't remedy that, so we might as well exit.

Testing: Channel changes are covered by existing tests. Exiting the canvas thread if the routed thread disconnects is not tested, and needs reviewer attention.
Part of #38912

Also improve the warning message if the routed
receiver disconnects and exit the thread.
If the routed receiver disconnects, then we can't receive
any canvas messages anymore, and any control messages can't
remedy that, so we might as well exit.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 17, 2025
@servo-highfive
Copy link

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Sep 17, 2025
@jdm jdm added this pull request to the merge queue Sep 17, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 17, 2025
@servo-highfive servo-highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 17, 2025
@yezhizhen yezhizhen added this pull request to the merge queue Sep 18, 2025
@servo-highfive servo-highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 18, 2025
Merged via the queue into servo:main with commit 666b17a Sep 18, 2025
34 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 18, 2025
@jschwe jschwe deleted the generic_channel/canvas_msg branch September 18, 2025 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants