Skip to content

Commit

Permalink
Fix a spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
KhaosT committed Dec 4, 2016
1 parent 1cd1705 commit 60736c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ Accessory.prototype.publish = function(info, allowInsecureRequest) {
* Accessory object will no longer vaild after invoking this method
* Trying to invoke publish() on the object will result undefined behavior
*/
Accessory.prototype.destory = function() {
Accessory.prototype.destroy = function() {
this._server.stop();
this._advertiser.stopAdvertising();

Expand Down

0 comments on commit 60736c5

Please sign in to comment.