Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unregister components while exiting #22474

Merged
merged 1 commit into from Dec 18, 2018
Merged

Unregister components while exiting #22474

merged 1 commit into from Dec 18, 2018

Conversation

@csmoe
Copy link
Contributor

csmoe commented Dec 16, 2018

r=@gterzian


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #22468 (GitHub issue number if applicable)

This change is Reviewable

@highfive
Copy link

highfive commented Dec 16, 2018

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @avadacatavra (or someone else) soon.

@highfive
Copy link

highfive commented Dec 16, 2018

Heads up! This PR modifies the following files:

@highfive
Copy link

highfive commented Dec 16, 2018

warning Warning warning

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

gterzian left a comment

Looks good so far, thanks!

Could you please add a test-case for this? You could for example do a notify_activity followed by a unregister call, and then assert that after a timeout no alerts have been received on the ipc channel.

components/layout_thread/lib.rs Outdated Show resolved Hide resolved
@csmoe csmoe force-pushed the csmoe:unregister branch from faea1c6 to a4e2196 Dec 17, 2018
@csmoe csmoe force-pushed the csmoe:unregister branch from a4e2196 to a75935b Dec 17, 2018
@csmoe csmoe changed the title [WIP] Unregister components while exiting Unregister components while exiting Dec 17, 2018
@gterzian
Copy link
Member

gterzian commented Dec 17, 2018

Great! Please squash into one commit and then it should be good to go...

@csmoe csmoe force-pushed the csmoe:unregister branch from a75935b to 5600a1d Dec 17, 2018
@KiChjang
Copy link
Member

KiChjang commented Dec 18, 2018

@bors-servo r=gterzian

Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Dec 18, 2018

📌 Commit 5600a1d has been approved by gterzian

@bors-servo
Copy link
Contributor

bors-servo commented Dec 18, 2018

Testing commit 5600a1d with merge 59a9da3...

bors-servo added a commit that referenced this pull request Dec 18, 2018
Unregister components while exiting

r=@gterzian

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22468 (GitHub issue number if applicable)

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22474)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 18, 2018

💔 Test failed - status-taskcluster

@gterzian
Copy link
Member

gterzian commented Dec 18, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Dec 18, 2018

💣 Failed to start rebuilding: Unknown error

@bors-servo
Copy link
Contributor

bors-servo commented Dec 18, 2018

Testing commit 5600a1d with merge a067620...

bors-servo added a commit that referenced this pull request Dec 18, 2018
Unregister components while exiting

r=@gterzian

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22468 (GitHub issue number if applicable)

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22474)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 18, 2018

@bors-servo bors-servo merged commit 5600a1d into servo:master Dec 18, 2018
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@gterzian
Copy link
Member

gterzian commented Dec 18, 2018

@csmoe thank you!

@csmoe
Copy link
Contributor Author

csmoe commented Dec 18, 2018

@gterzian thank for your patience :)

@csmoe csmoe deleted the csmoe:unregister branch Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

6 participants
You can’t perform that action at this time.