node-ble icon indicating copy to clipboard operation
node-ble copied to clipboard

Fix memory leak in waitDevice method

Open Raffone17 opened this issue 5 months ago • 3 comments

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.

Raffone17 avatar Sep 17 '24 08:09 Raffone17