From fc3b34d42f0140808a5a1077d0d073c5984047df Mon Sep 17 00:00:00 2001 From: Brian Bickerton Date: Tue, 8 May 2012 10:07:43 -0400 Subject: [PATCH] Use 'self.activeQuery' insead of 'this.activeQuery' in the readyForQueue event listener. --- lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client.js b/lib/client.js index 32b1d082..a2eb2928 100644 --- a/lib/client.js +++ b/lib/client.js @@ -110,7 +110,7 @@ p.connect = function(callback) { if(self.activeQuery) { self.activeQuery.handleReadyForQuery(); } - this.activeQuery = null; + self.activeQuery = null; self.readyForQuery = true; self._pulseQueryQueue(); });