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

info variable should not be global #46

Open
raintonr opened this issue Feb 3, 2025 · 0 comments
Open

info variable should not be global #46

raintonr opened this issue Feb 3, 2025 · 0 comments

Comments

@raintonr
Copy link
Contributor

raintonr commented Feb 3, 2025

When creating more than one new pigpio to connect to multiple hosts, issue arise with connect/disconnect because the info object in pigpio-client.js is global. This object definition should be moved inside the exports.pigpio = function (pi) {... block.

raintonr added a commit to raintonr/pigpio-client that referenced this issue Feb 4, 2025
guymcswain added a commit that referenced this issue Feb 4, 2025
Fixes info variable should not be global for multiple hosts #46
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

No branches or pull requests

1 participant