Skip to content

Commit

Permalink
Remove unnecessary code (#145)
Browse files Browse the repository at this point in the history
* remove unnecessary code

* correct version number
  • Loading branch information
cjus authored Aug 2, 2017
1 parent 3ba4b1b commit 48c4ded
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,9 @@ class Hydra extends EventEmitter {
if (!this.testMode) {
this._logMessage('error', 'Service is shutting down.');
if (this.mcMessageChannelClient) {
promises.push(this.mcMessageChannelClient.unsubscribeAsync());
promises.push(this.mcMessageChannelClient.quitAsync());
}
if (this.mcDirectMessageChannelClient) {
promises.push(this.mcDirectMessageChannelClient.unsubscribeAsync());
promises.push(this.mcDirectMessageChannelClient.quitAsync());
}
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hydra",
"version": "1.4.11",
"version": "1.4.12",
"license": "MIT",
"author": "Carlos Justiniano",
"contributors": "https://github.com/flywheelsports/hydra/graphs/contributors",
Expand Down

0 comments on commit 48c4ded

Please sign in to comment.