Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fiber-local for global_hook_disabled_requests (#907)
Previously the finalizer being registered failed on Ruby trunk because finalizers are passed an argument and the lambda didn't accept one. I think it's simpler here to just use a fiber-local variable and have our array cleaned up automatically when the thread exits without need of a finalizer.
- Loading branch information