Skip to content

Conversation

@kojix2
Copy link
Member

@kojix2 kojix2 commented Sep 25, 2025

  • IRuby’s heartbeat uses ZMQ::Device (zmq_proxy) which blocks indefinitely.
  • On Ruby 3.4, a non-daemon blocking thread prevents process exit.
  • Mark the heartbeat thread as daemon to avoid exit hang while keeping behavior unchanged.

As a step towards fixing #137

@kojix2
Copy link
Member Author

kojix2 commented Sep 25, 2025

Hmm. It seems the API for daemonising Ruby threads only exists in JRuby.
I don't think the direction of the fix is wrong, but this is definitely an AI hallucination.

@kojix2
Copy link
Member Author

kojix2 commented Sep 25, 2025

#357 (comment)

@kojix2 kojix2 closed this Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant