Skip to content

Add example for grab media keys.#316

Merged
guelfey merged 1 commit intogodbus:masterfrom
linuxerwang:master
Mar 16, 2022
Merged

Add example for grab media keys.#316
guelfey merged 1 commit intogodbus:masterfrom
linuxerwang:master

Conversation

@linuxerwang
Copy link
Contributor

Tested in Ubuntu 20.04.

Comment on lines 35 to 36
go func() {
for {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why put this in a separate Goroutine and not just put the loop in the original Goroutine?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not cleaned well when extracted from a real app. Done.

@guelfey guelfey merged commit 8305584 into godbus:master Mar 16, 2022
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.

2 participants