Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@brianjjones
Copy link
Contributor

@brianjjones brianjjones commented Feb 17, 2017

This fixes the issue where GPIO was not having it's zjs_gpio_close function called because we still had a reference to the onchange function when jerry_cleanup gets called. Now the garbage collector will clean the GPIO object like it should.

Signed-off-by: Brian Jones <brian.j.jones@intel.com>
@poussa
Copy link
Contributor

poussa commented Feb 20, 2017

Tested and works as expected. No more double (and more) callbacks. Fixes #745

+1

@grgustaf
Copy link
Contributor

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants