Skip to content

Commit

Permalink
Remove dead code for MRI 2.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Feb 4, 2021
1 parent 6d51fa5 commit c1d2493
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/bootsnap/load_path_cache/store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class Store

def initialize(store_path)
@store_path = store_path
# TODO: Remove conditional once Ruby 2.2 support is dropped.
@txn_mutex = defined?(::Mutex) ? ::Mutex.new : ::Thread::Mutex.new
@txn_mutex = Mutex.new
@dirty = false
load_data
end
Expand Down

0 comments on commit c1d2493

Please sign in to comment.