Fiber ignores ensure clause

Issue #595 has been updated by Koichi Sasada.

未だに考え中ですが,これは 1.9.3 には仕様変更になるので入りませんよね?

Bug #595: Fiber ignores ensure clause

Author: Koichi Sasada
Status: Assigned
Priority: Normal
Assignee: Koichi Sasada
Category: core
Target version: 1.9.x
ruby -v: ruby 1.9.2dev (2010-01-13) [i386-mingw32]

Ruby プロセス終了時,Fiber が ensure を無視します.

fib ={
Fiber.yield :ok
puts “should be print out”
p fib.resume

$B$^$D$b$H(B $B$f$-$R$m$G$9(B

In message “Re: [ruby-dev:43715] [Ruby 1.9 - Bug #595] Fiber ignores
ensure clause”
on Sat, 11 Jun 2011 14:52:03 +0900, Koichi Sasada
[email protected] writes:

|[email protected]$K9M$(Cf$G$9$,!$$3$l$O(B 1.9.3 $B$K$O;EMMJQ99$K$J$k$N$GF~$j$^$;$s$h$M!)(B

$B$3$NF0:n$O%P%[email protected]$H9M$($F$$$k$N$G!"(BYugui$B$5$s$,[email protected]$7$J$$8B$j!"(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs