Skip to content

Why does my program get stuck? Unexpected interaction between two tokio runtimes #6267

Answered by Darksonn
LoneMartian asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, but perhaps there are still tasks on the runtime when you return from block_on? Those tasks will stop running until you call block_on again.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@LoneMartian
Comment options

@Darksonn
Comment options

Answer selected by LoneMartian
@LoneMartian
Comment options

@Darksonn
Comment options

@LoneMartian
Comment options

@Darksonn
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
2 participants