Class: Puppet::ThreadLocal Private
- Defined in:
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
We want to use the pure Ruby implementation even on JRuby. If we use the Java implementation of ThreadLocal, we end up leaking references to JRuby instances and preventing them from being garbage collected.