Skip to content

Commit

Permalink
Support Ruby 3.1+.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Oct 21, 2023
1 parent a1375fc commit f7f85e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/debug/thread_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -867,10 +867,9 @@ class SuspendReplay < Exception
end
else
private def fiber_blocking
yield
::Fiber.new(blocking: true){yield}.resume
end
end


def wait_next_action
fiber_blocking{wait_next_action_}
Expand Down

0 comments on commit f7f85e4

Please sign in to comment.