diff options
Diffstat (limited to 'lib/plum/client.rb')
-rw-r--r-- | lib/plum/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plum/client.rb b/lib/plum/client.rb index 3749482..81066d7 100644 --- a/lib/plum/client.rb +++ b/lib/plum/client.rb @@ -62,7 +62,7 @@ module Plum # Closes the connection. def close - @plum.close if @plum && @plum.state != :closed + @plum.close if @plum ensure @socket.close if @socket end |