Skip to content

Commit

Permalink
Try to fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Oct 15, 2024
1 parent b94ef12 commit b4af76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/whats_opt/service_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ def self.shutdown_server(host: DEFAULT_HOST, port: DEFAULT_PORT)
client = Services::Administration::Client.new(admin_protocol)
transport.open()
client.shutdown
self.kill_server(@pid)
rescue => e
Rails.logger.warn e
else
transport.close()
self.kill_server(@pid)
end

def self.kill_server(pid)
Expand Down

0 comments on commit b4af76e

Please sign in to comment.