Skip to content

Catch/throw and exceptions do not propagate out of fibers #1519

@headius

Description

@headius

Perhaps due to exception-propgation fixes in 1.7.11, catch/throw stopped working across a fiber boundary.

This code will hang, because the fiber goes away but the waiter never receives the Continuation exception for the throw:

catch(:foo) do
  Fiber.new do
    throw :foo
  end.resume
end

Fix in progress.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions