Project

General

Profile

Bug #15385 » reproduce.rb

reproduction script - pawelpacana (Paweł Pacana), 12/06/2018 01:42 AM

 
require 'timeout'

puts Process.pid

def raise_before_returning
raise
[]
end

def doh
value = raise_before_returning
ensure
# p value # <-- that unblocks it
value if nil
end

Timeout.timeout(3) do
doh
end
    (1-1/1)