[Pkg-javascript-commits] [sockjs-client] 201/350: Remove event listeners for info-iframe-receiver

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.

commit fac3d8f1c20a2eb43832016d6353a616bf8369f1
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Mon Oct 20 16:30:10 2014 -0400

    Remove event listeners for info-iframe-receiver
---
 lib/info-iframe-receiver.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/info-iframe-receiver.js b/lib/info-iframe-receiver.js
index fb674e2..4468f60 100644
--- a/lib/info-iframe-receiver.js
+++ b/lib/info-iframe-receiver.js
@@ -27,6 +27,7 @@ InfoReceiverIframe.prototype.close = function() {
     this.ir.close();
     this.ir = null;
   }
+  this.removeAllListeners();
 };
 
 module.exports = InfoReceiverIframe;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list