Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Commit

Permalink
Fix an issue where done() wasn't invoked when peripheral is missing w…
Browse files Browse the repository at this point in the history
…ithout any other error
  • Loading branch information
Daisuke Baba committed Aug 30, 2017
1 parent c121e6d commit 0a7f1b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bleio.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,10 @@ export function remove(node, done, RED) {
done();
}
}
} else {
if (done) {
done();
}
}
return true;
}
Expand Down

0 comments on commit 0a7f1b8

Please sign in to comment.