lib/rmpd/commands/admin.rb in rmpd-1.1.12 vs lib/rmpd/commands/admin.rb in rmpd-1.1.13
- old
+ new
@@ -8,10 +8,12 @@
simple_command :update
simple_command :_kill
def kill
_kill
+ @socket_mu.lock
@socket.close
+ @socket_mu.unlock
end
alias_method :disable_output, :disableoutput
alias_method :tag_types, :tagtypes
alias_method :enable_output, :enableoutput