lib/rmpd/commands/miscellaneous.rb in rmpd-1.1.13 vs lib/rmpd/commands/miscellaneous.rb in rmpd-1.1.15

- old
+ new

@@ -9,14 +9,13 @@ simple_command :noidle simple_command :password simple_command :ping simple_command :stats simple_command :status - simple_command :_close def close - _close - @socket.close + send_command_without_reconnect("close") + @socket.synchronize {@socket.close} end simple_command :command_list simple_command :command_list_ok