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

Avoid unwinding into C stack frames #11803

Merged
merged 3 commits into from Jun 22, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Avoid an unnecessary panic when the script task deals with a GC after…

… the layout thread is unreachable.
  • Loading branch information
jdm committed Jun 22, 2016
commit a74ce64539e29cfef96d03e87490c9454b61f3e1
@@ -192,7 +192,9 @@ impl Node {
debug_assert!(thread_state::get().is_script());
let win = window_from_node(self);
self.style_and_layout_data.set(None);
win.layout_chan().send(Msg::ReapStyleAndLayoutData(data)).unwrap();
if win.layout_chan().send(Msg::ReapStyleAndLayoutData(data)).is_err() {
warn!("layout thread unreachable - leaking layout data");
}
}

/// Adds a new child to the end of this node's list of children.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.