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

Remove the Rc from ROOTED_TRACEABLES. #14569

Merged
merged 1 commit into from Dec 14, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Remove the Rc from ROOTED_TRACEABLES.

It does not appear to be necessary.
  • Loading branch information
Ms2ger committed Dec 13, 2016
commit 061350ed7d271adfe03d87d1865ca2f3721ec3d3
@@ -574,8 +574,8 @@ pub struct RootedTraceableSet {

thread_local!(
/// TLV Holds a set of JSTraceables that need to be rooted
static ROOTED_TRACEABLES: Rc<RefCell<RootedTraceableSet>> =
Rc::new(RefCell::new(RootedTraceableSet::new()));
static ROOTED_TRACEABLES: RefCell<RootedTraceableSet> =
RefCell::new(RootedTraceableSet::new());
);

impl RootedTraceableSet {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.