kelly / node-i2c

Node.js native bindings for i2c-dev. Plays well with Raspberry Pi and Beaglebone.
Other
216 stars 91 forks source link

Library prevents PI from rebooting #85

Open AuspeXeu opened 7 years ago

AuspeXeu commented 7 years ago

It seems like this code in line 21 of the lib file process.on 'exit', => @close() prevents my raspberry pi from rebooting if I am reading from a wire simultaneously. After removing this line it works flawlessly. Any suggestions on how to fix this?