openbci-archive / OpenBCI_NodeJS

Node.js SDK for the all OpenBCI Biosensor Boards
https://www.npmjs.com/package/openbci
137 stars 52 forks source link

Connection fails if already connected (fixes #93) #109

Closed baffo32 closed 7 years ago

baffo32 commented 7 years ago

Resources were not being cleaned up previously. Although failing is somewhat harsh, this fix makes possible errors more visible.

codecov-io commented 7 years ago

Current coverage is 93.65% (diff: 100%)

Merging #109 into 1.4.0 will not change coverage

@@              1.4.0       #109   diff @@
==========================================
  Files             4          4          
  Lines          2207       2207          
  Methods         128        128          
  Messages          0          0          
  Branches        466        467     +1   
==========================================
  Hits           2067       2067          
  Misses          140        140          
  Partials          0          0          

Powered by Codecov. Last update 62a69e0...f59b411