Forum: Ruby-dev Fiber ignores ensure clause

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
ko1 (Koichi Sasada) (Guest)
on 2012-07-25 12:09
(Received via mailing list)
Issue #595 has been updated by ko1 (Koichi Sasada).

あれ,これ 3.0 でいいんだっけ.
Bug #595: Fiber ignores ensure clause

Author: ko1 (Koichi Sasada)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 3.0
ruby -v: -

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

 fib ={
     Fiber.yield :ok
     puts "should be print out"
 p fib.resume
This topic is locked and can not be replied to.