node-ble
node-ble copied to clipboard
Fix memory leak in waitDevice method
In the waitDevice method, if the device is not found the 'operation timed out' error is thrown but the interval is not cleared. I added a try and finally statements for avoid this problem.