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

Fix memory leak in flow tree by adding weak refs. #5228

Merged
merged 1 commit into from Mar 16, 2015

Commits on Mar 16, 2015

  1. Fix memory leak in flow tree by adding weak refs.

    Cycles were being created in the flow tree since absolutely positioned
    descendants had pointers to their containing blocks. This adds
    WeakFlowRef (based on Weak<T>) and makes these backpointers weak
    references. This also harmonizes our custom Arc<T>, FlowRef, to be
    consistent with the upstream implementation.
    
    Fixes #4915.
    metajack committed Mar 16, 2015
You can’t perform that action at this time.