diff options
author | Matthew Draper <matthew@trebex.net> | 2016-03-11 07:45:24 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-03-11 07:45:24 +1030 |
commit | b50f5a5ac6fc554eaad3138cb42f678a41794771 (patch) | |
tree | 9295d66a5f511536a054418840f776f96af56d03 /activemodel | |
parent | bf79b81740538e96c4881a7c27775a8faf966555 (diff) | |
download | rails-b50f5a5ac6fc554eaad3138cb42f678a41794771.tar.gz rails-b50f5a5ac6fc554eaad3138cb42f678a41794771.tar.bz2 rails-b50f5a5ac6fc554eaad3138cb42f678a41794771.zip |
Don't inherit from Concurrent::CountDownLatch
That class mangles .new, which interferes with our deprecation warning.
More generally, it suggests we shouldn't be subclassing without a very
good reason, and avoiding one allocation doesn't seem to meet that
criteria.
In passing, recommend the simpler Concurrent::Event for the common
count=1 case.
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions