Skip to content

servoshell: Schedule keyboard shortcut exits so that they can be done cleanly#40933

Merged
mrobinson merged 1 commit intoservo:mainfrom
mrobinson:schedule-exit-servoshell
Nov 28, 2025
Merged

servoshell: Schedule keyboard shortcut exits so that they can be done cleanly#40933
mrobinson merged 1 commit intoservo:mainfrom
mrobinson:schedule-exit-servoshell

Conversation

@mrobinson
Copy link
Copy Markdown
Member

This is a speculative fix for a crash mentioned by @mukilan1. It will
also make moving to a more consistent shutdown model (even one driven by
dropping of the Servo instance) possible.

Testing: It's difficult to test this crash because it seems to only happen on
nixOS and we currently don't have a good way to test crashes on exit.

Footnotes

  1. https://github.com/servo/servo/pull/40883#issuecomment-3584090609

… cleanly

This is a speculative fix for a crash mentioned by @mukilan[^1]. It will
also make moving to a more consistent shutdown model (even one driven by
dropping of the `Servo` instance) possible.

[^1]: servo#40883 (comment)

Signed-off-by: Martin Robinson <[email protected]>
@mrobinson mrobinson requested a review from atbrakhi as a code owner November 28, 2025 09:29
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 28, 2025
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 28, 2025
@mrobinson mrobinson added this pull request to the merge queue Nov 28, 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 Nov 28, 2025
Merged via the queue into servo:main with commit 2114926 Nov 28, 2025
32 checks passed
@mrobinson mrobinson deleted the schedule-exit-servoshell branch November 28, 2025 12:45
@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 Nov 28, 2025
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.

3 participants