diff --git a/lib/peripheral.js b/lib/peripheral.js index 48e7b12c3..233459b26 100644 --- a/lib/peripheral.js +++ b/lib/peripheral.js @@ -50,6 +50,7 @@ Peripheral.prototype.connect = function(callback) { Peripheral.prototype.disconnect = function(callback) { if (callback) { this.once('disconnect', function() { + this.services = null; callback(null); }); }