We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47af242 commit b13ef53Copy full SHA for b13ef53
lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb
@@ -26,8 +26,8 @@ class MutexLockableObject < AbstractLockableObject
26
27
safe_initialization!
28
29
- def initialize(*defaults)
30
- super(*defaults)
+ def initialize
+ super()
31
@__Lock__ = ::Mutex.new
32
@__Condition__ = ::ConditionVariable.new
33
end
@@ -61,8 +61,8 @@ class MonitorLockableObject < AbstractLockableObject
61
62
63
64
65
66
@__Lock__ = ::Monitor.new
67
@__Condition__ = @__Lock__.new_cond
68
0 commit comments