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

Use write barrier when setting busy_handler #556

Merged
merged 2 commits into from
Sep 12, 2024

Commits on Sep 9, 2024

  1. Use write barrier when setting busy_handler

    The Database type struct is marked as WB_PROTECTED which means that any
    new references added to the object need to fire the write barrier.
    Previously we were missing this when setting the busy_handler.
    jhawthorn committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    d9d5b32 View commit details
    Browse the repository at this point in the history
  2. Remove @busy_handler = nil

    We no longer use this instance variable. This is just cleanup, I dont
    believe it caused any issues.
    jhawthorn committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    f759e82 View commit details
    Browse the repository at this point in the history