Skip to content

Commit 6e75e4b

Browse files
author
Petr Chalupa
authored
Merge pull request #589 from pitr-ch/master
Initialize instance variables to nil, fix #566
2 parents 72babda + 8f783be commit 6e75e4b

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)