mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #15470 - karan1276:karan_rmv_unwrap, r=Wafflespeanut
remove unwrap(), not needed Fixes #15387 <!-- 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: --> - [ ] `./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 _____ <!-- 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/15470) <!-- Reviewable:end -->
This commit is contained in:
commit
28d62f0f03
1 changed files with 1 additions and 1 deletions
|
@ -1511,7 +1511,7 @@ impl ScriptThread {
|
||||||
let (response_chan, response_port) = channel();
|
let (response_chan, response_port) = channel();
|
||||||
chan.send(message::Msg::PrepareToExit(response_chan)).ok();
|
chan.send(message::Msg::PrepareToExit(response_chan)).ok();
|
||||||
debug!("shutting down layout for page {}", id);
|
debug!("shutting down layout for page {}", id);
|
||||||
response_port.recv().unwrap();
|
let _ = response_port.recv();
|
||||||
chan.send(message::Msg::ExitNow).ok();
|
chan.send(message::Msg::ExitNow).ok();
|
||||||
self.constellation_chan.send(ConstellationMsg::PipelineExited(id)).ok();
|
self.constellation_chan.send(ConstellationMsg::PipelineExited(id)).ok();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue