Closed azell closed 3 years ago
Existing code always creates a Reflections object that scans the packages. The pull request limits the object creation to once, inside of the write lock.
Reflections
Also enforces the best practice of only accessing the _rules field when holding a lock.
_rules
Any update ?
Existing code always creates a
Reflections
object that scans the packages. The pull request limits the object creation to once, inside of the write lock.Also enforces the best practice of only accessing the
_rules
field when holding a lock.