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 dead-lock in WeakKeyDict #33756

Closed
wants to merge 2 commits into from
Closed

Commits on Nov 3, 2019

  1. fix deadlock in WeakKeyDict iterate! method

    The command `x = WeakKeyDict(:a => 4)` followed by `push!(x, :b => 2)`
    gives a deadlock. The reason is a `lock` command in the iterate! method
    where the registered finalizer function with `unlock` never got called.
    Hans-Peter Suter committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    f5502f6 View commit details
    Browse the repository at this point in the history
  2. clarify that objects may be garbage collected

    Hans-Peter Suter committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    c7e2f1f View commit details
    Browse the repository at this point in the history