Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix receiving of MQTT commands #875

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

ctron
Copy link
Contributor

@ctron ctron commented Nov 21, 2022

Receiving of MQTT commands is currently broken. The reason for this is, that the callback is registered in a way that the "this" context is dropped.

Also see: https://stackoverflow.com/questions/20279484/how-to-access-the-correct-this-inside-a-callback

@ctron ctron force-pushed the feature/fix_mqtt_1 branch from 34c25ae to 78bb3b3 Compare November 21, 2022 12:18
@danielpeintner
Copy link
Member

@ctron may I ask you to merge in master so that we get rid of the CI test issues we had since some days. Thanks!

@danielpeintner
Copy link
Member

FYI: I merged master in to get a clean run.

@relu91 I let you decide w.r.t. #875 (review)

ctron and others added 2 commits November 30, 2022 09:39
Receiving of MQTT commands is currently broken. The reason for this is,
that the callback is registered in a way that the "this" context is
dropped.

Also see:  https://stackoverflow.com/questions/20279484/how-to-access-the-correct-this-inside-a-callback
@relu91 relu91 force-pushed the feature/fix_mqtt_1 branch from 73289fc to a8b50ae Compare November 30, 2022 08:41
@relu91
Copy link
Member

relu91 commented Nov 30, 2022

I rebased and fixed the commit, merging when CI is green.

@relu91 relu91 merged commit 301dc61 into eclipse-thingweb:master Nov 30, 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.

3 participants