diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -119,7 +119,7 @@ PGPubsub.prototype.removeChannel = function (channel, callback) {
 
 PGPubsub.prototype.close = function () {
   this.retry.end();
-  this.removeAllListeners(channel);
+  this.removeAllListeners();
   this.channels = [];
 };
fix(main): removed unknown variable in close()