We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dd4752 commit 754ade2Copy full SHA for 754ade2
1 file changed
lib/debug/thread_client.rb
@@ -865,12 +865,15 @@ class SuspendReplay < Exception
865
private def fiber_blocking
866
::Fiber.blocking{yield}
867
end
868
+ elsif ::Fiber.method_defined?(:blocking?)
869
+ private def fiber_blocking
870
+ ::Fiber.new(blocking: true){yield}.resume
871
+ end
872
else
873
874
yield
875
876
-
877
878
def wait_next_action
879
fiber_blocking{wait_next_action_}
0 commit comments