Skip to content

Commit 52c08fc

Browse files
committed
Fix wrong class
1 parent f47e300 commit 52c08fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def initialize(*defaults)
6969

7070
def initialize_copy(other)
7171
super
72-
@__Lock__ = ::Mutex.new
72+
@__Lock__ = ::Monitor.new
7373
@__Condition__ = @__Lock__.new_cond
7474
end
7575

0 commit comments

Comments
 (0)