Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
on('stateChange')
listener once poweredOn (#24)
Remove the listener so we start fresh each time and we try to avoid the ``` MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 stateChange listeners added to [Noble]. Use emitter.setMaxListeners() to increase limit ``` warning Might help for #20
- Loading branch information