Skip to content

exit() hangs when called after getSocket(ZMQ::SOCKET_PULL) but NOT after getSocket(ZMQ::SOCKET_PUSH) #548

Answered by clue
zhiyong-ft asked this question in Q&A
Discussion options

You must be logged in to vote

@zhiyong-ft It looks like you may want to use Loop::run() or Loop::stop() if you don't want to rely on loop autorun in this case. I'm not sure what problem you're seeing exactly and what your expected output would be in this case, but ReactPHP gives you full control over these low-level details if needed for more advanced use cases.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@clue
Comment options

Answer selected by zhiyong-ft
@zhiyong-ft
Comment options

@clue
Comment options

@zhiyong-ft
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #532 on November 24, 2023 12:33.