Skip to content

Commit ca01102

Browse files
authored
Merge pull request #80 from dblock/fix-78
Change order of closing connection.
2 parents 10b47df + d33e0da commit ca01102

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#### 0.8.2 (Next)
44

5+
* [#80](https://github.com/slack-ruby/slack-ruby-bot-server/pull/80): Fix: closed stream when closing connection in ping worker - [@dblock](https://github.com/dblock).
56
* Your contribution here.
67

78
#### 0.8.1 (2018/9/20)

lib/slack-ruby-bot-server/ping.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ def down!
7272

7373
def restart!
7474
logger.warn "RESTART: #{owner}"
75-
close_connection
7675
close_driver
7776
emit_close
77+
close_connection
7878
false
7979
rescue StandardError => e
8080
logger.warn "Error restarting team #{owner.id}: #{e.message}."

0 commit comments

Comments
 (0)