From d012d237bfb11c8621221e1863cd2114ebbcee01 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sat, 1 Mar 2014 17:05:57 -0500 Subject: [PATCH] added back clearInterval --- src/socket.io/modules.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/socket.io/modules.js b/src/socket.io/modules.js index 289a7fa12b..ac60ef9884 100644 --- a/src/socket.io/modules.js +++ b/src/socket.io/modules.js @@ -101,6 +101,7 @@ SocketModules.composer.unregister = function(socket, uuid) { var replyObj = SocketModules.composer.replyHash[uuid]; if (uuid && replyObj) { server.in('topic_' + replyObj.tid).emit('event:topic.replyStop', replyObj.uid); + clearInterval(replyObj.timer); delete SocketModules.composer.replyHash[replyObj.uuid]; } };