From: Eric Wong Date: 2018-11-14T21:58:05+00:00 Subject: [ruby-core:89798] Re: [ruby-dev:43715] [Ruby 1.9 - Bug #595] Fiber ignores ensure clause > However, I'm also working on making all sleeping functions > (native_sleep/rb_wait_for_single_fd/rb_thread_fd_select) method > perform auto-Fiber scheduling. > > Unfortunately, that still interacts badly when people use > regular ("manual") Fibers because I/O scheduling depend on > rb_ensure heavily... So *shrug* I'll have to think of > something... Not auto-calling fiber_switch from regular Fiber seems to do the trick. Need to avoid infinite loops from regular Fibers, though... Unsubscribe: