Skip to content

Commit

Permalink
Disable rbx workaround.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedarkone committed Oct 3, 2012
1 parent 1eec51c commit 22b3bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thread_safe/atomic_reference_cache_backend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def compute_if_absent(key)
end
end

if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx' && false # <- remove "&& false" to fix the bug on Rubinius
def compute_if_absent(key)
hash = key_hash(key)
current_table = table || initialize_table
Expand Down

0 comments on commit 22b3bfc

Please sign in to comment.