Skip to content

Commit 8f783be

Browse files
committed
Initialize instance variables to nil, fix #566
1 parent 72babda commit 8f783be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/concurrent/concern/obligation.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def get_arguments_from(opts = {})
138138
# @!visibility private
139139
def init_obligation
140140
@event = Event.new
141+
@value = @reason = nil
141142
end
142143

143144
# @!visibility private

0 commit comments

Comments
 (0)