[Groonga-commit] groonga/express-kotoumi [master] Remove codes to remove "publish" event listener because it is removed by socket.removeAllListeners()

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Feb 7 17:35:42 JST 2013


YUKI Hiroshi	2013-02-07 17:35:42 +0900 (Thu, 07 Feb 2013)

  New Revision: d060a6afac6a632b8f4b33cccae9b06264dd285f
  https://github.com/groonga/express-kotoumi/commit/d060a6afac6a632b8f4b33cccae9b06264dd285f

  Log:
    Remove codes to remove "publish" event listener because it is removed by socket.removeAllListeners()

  Modified files:
    lib/frontend/socket.io-adaptor.js

  Modified: lib/frontend/socket.io-adaptor.js (+0 -1)
===================================================================
--- lib/frontend/socket.io-adaptor.js    2013-02-07 17:34:21 +0900 (ab0ca02)
+++ lib/frontend/socket.io-adaptor.js    2013-02-07 17:35:42 +0900 (aee514d)
@@ -117,7 +117,6 @@ exports.register = function(application, server, params) {
     connection.on('error', errorHandler);
 
     socket.on('disconnect', function() {
-      connection.removeListener('publish', publishedMessageHandler);
       connection.removeListener('error', errorHandler);
       socket.removeAllListeners();
     });
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index