From 62af32c41947c1a002095e19569a92544b115e1f Mon Sep 17 00:00:00 2001 From: Arthur Neves Date: Sun, 15 Jun 2014 22:06:36 -0400 Subject: [PATCH] Revert "Merge pull request #286 from jonhyman/feature/no-auth-clear-master" This reverts commit dec51d631774638e36e118808b5e9a89a8e95a83, reversing changes made to b6e499b6c75ddd2acb56b372b60b65be10104976. [fixes #287] --- lib/moped/connection.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/moped/connection.rb b/lib/moped/connection.rb index 05c4854..0041867 100644 --- a/lib/moped/connection.rb +++ b/lib/moped/connection.rb @@ -74,6 +74,7 @@ def connected? # # @since 1.0.0 def disconnect + credentials.clear @sock.close rescue ensure