Skip to content

Notification events not being sent by computer. Any ideas what I'm doing wrong? #494

Closed Answered by SmittyHalibut
SmittyHalibut asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out. I was queueing the notification in the callback, which only gets called after the notification is sent. I moved the queueing to set_serial_state instead, and call it again from the call back in case the state changed while we were notifying of the last change.

New working code in #493

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SmittyHalibut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant