diff --git a/lib/ControlKit.js b/lib/ControlKit.js index 0f030bd..b8f4d67 100644 --- a/lib/ControlKit.js +++ b/lib/ControlKit.js @@ -307,10 +307,10 @@ ControlKit.prototype.getNode = function () { }; ControlKit.destroy = function(){ - Mouse.get().destroy(); - Options.get().destroy(); - Picker.get().destroy(); + Mouse.destroy(); + Options.destroy(); + Picker.destroy(); initiated = false; }; -module.exports = ControlKit; \ No newline at end of file +module.exports = ControlKit;