Skip to content

Commit

Permalink
Change order of closing connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Sep 26, 2018
1 parent 6a409bb commit 4fc793c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/slack-ruby-bot-server/ping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def down!

def restart!
logger.warn "RESTART: #{owner}"
close_connection
close_driver
emit_close
close_connection
false
rescue StandardError => e
logger.warn "Error restarting team #{owner.id}: #{e.message}."
Expand Down

0 comments on commit 4fc793c

Please sign in to comment.