We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 804f9cd + 375b964 commit e6ab694Copy full SHA for e6ab694
1 file changed
kbengine.js
@@ -454,6 +454,12 @@ KBEngine.Event = function()
454
}
455
456
457
+
458
+ this.clear = function()
459
+ {
460
+ this._events = {};
461
+ this._firedEvents.splice(0, this._firedEvents.length);
462
+ }
463
464
465
KBEngine.Event = new KBEngine.Event();
@@ -5225,6 +5231,8 @@ KBEngine.destroy = function()
5225
5231
KBEngine.app.uninstallEvents();
5226
5232
KBEngine.app.reset();
5227
5233
KBEngine.app = undefined;
5234
5235
+ KBEngine.Event.clear();
5228
5236
5229
5237
5230
5238
try
0 commit comments