Skip to content

gfx: Add expect messages to FontCacheThread::exit() - #11166

Merged
bors-servo merged 1 commit into
servo:masterfrom
emilio:fontcache-exit
May 13, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
emilio:fontcache-exit

Conversation

@emilio

@emilio emilio commented May 12, 2016 •

Copy link
Copy Markdown
Member

Thank you for contributing to Servo! Please replace each [ ] by [X] when the step is complete, and replace __ with appropriate data:

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

Either:

  • There are tests for these changes OR
  • These changes do not require tests because they only add debug info.

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

One of these two unwraps is the one that is causing most occurrences
of #8815.

I'd go with removing the second unwrap entirely, but let's get some
debug info first, since it might probably be a race.


This change is Reviewable

@highfive highfive assigned ghost May 12, 2016
@highfive

Copy link
Copy Markdown

warning Warning warning

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

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 12, 2016
Comment thread components/gfx/font_cache_thread.rs Outdated
self.chan.send(Command::Exit(response_chan)).unwrap();
response_port.recv().unwrap();
self.chan.send(Command::Exit(response_chan)).expect("Couldn't send FontCacheThread exit message");
response_port.recv().expect("Couln't receive FontCacheThread reply");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo ("Couln't")

@mbrubeck mbrubeck assigned mbrubeck and unassigned ghost May 12, 2016
@mbrubeck

Copy link
Copy Markdown
Contributor

r=mbrubeck with a typo fix (above)

One of these two unwraps is the one that is causing most occurrences
of servo#8815.

I'd go with removing the second unwrap entirely, but let's get some
debug info first, since it might probably be a race.
@highfive

Copy link
Copy Markdown

New code was committed to pull request.

@emilio

emilio commented May 12, 2016

Copy link
Copy Markdown
Member Author

@bors-servo: r=mbrubeck

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit f6434a9 has been approved by mbrubeck

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels May 12, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit f6434a9 with merge 36785da...

bors-servo pushed a commit that referenced this pull request May 12, 2016
gfx: Add expect messages to FontCacheThread::exit()

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
- [ ] These changes fix #__ (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they only add debug info.

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

One of these two unwraps is the one that is causing most occurrences
of #8815.

I'd go with removing the second unwrap entirely, but let's get some
debug info first, since it might probably be a race.
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - windows

@highfive 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 May 12, 2016
@emilio

emilio commented May 12, 2016

Copy link
Copy Markdown
Member Author

@bors-servo: retry

  • git

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit f6434a9 with merge 2e049a8...

bors-servo pushed a commit that referenced this pull request May 12, 2016
gfx: Add expect messages to FontCacheThread::exit()

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
- [ ] These changes fix #__ (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they only add debug info.

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

One of these two unwraps is the one that is causing most occurrences
of #8815.

I'd go with removing the second unwrap entirely, but let's get some
debug info first, since it might probably be a race.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11166)
<!-- Reviewable:end -->
@highfive 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 May 12, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@bors-servo
bors-servo merged commit f6434a9 into servo:master May 13, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 13, 2016
@emilio
emilio deleted the fontcache-exit branch July 6, 2016 21:16
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