Skip to content

Unable to receive signal from org.freedesktop.DBus #423

Answered by diwic
aacebedo asked this question in Q&A
Discussion options

You must be logged in to vote

Unless tokio has done something weird with its main function, loop {} busy-loops with 100% CPU without giving any chance for anything else to run, including signal processing. You need something like future::pending::<()>().await instead.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@aacebedo
Comment options

@aacebedo
Comment options

@diwic
Comment options

@diwic
Comment options

@aacebedo
Comment options

Answer selected by aacebedo
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