Skip to content

Commit 50917ff

Browse files
authored
Merge pull request #852 from fzakaria/remove-unused-line
Remove un-needed line in TimerTask
2 parents 082c05f + 5652d30 commit 50917ff

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/concurrent-ruby/concurrent/timer_task.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ def execute_task(completion)
325325
def timeout_task(completion)
326326
return unless @running.true?
327327
if completion.try?
328-
self.value = value
329328
schedule_next_task
330329
observers.notify_observers(Time.now, nil, Concurrent::TimeoutError.new)
331330
end

0 commit comments

Comments
 (0)