diff --git a/support/aphlict/server/lib/AphlictListenerList.js b/support/aphlict/server/lib/AphlictListenerList.js index 22f2c7fc70..617f30327f 100644 --- a/support/aphlict/server/lib/AphlictListenerList.js +++ b/support/aphlict/server/lib/AphlictListenerList.js @@ -42,7 +42,7 @@ JX.install('AphlictListenerList', { }, getActiveListenerCount: function() { - return this._listeners.length; + return Object.keys(this._listeners).length; }, getTotalListenerCount: function() {