From 48c4dedab2b6ce3bbffce8e3022a8da0b26fff0c Mon Sep 17 00:00:00 2001 From: Carlos Justiniano Date: Tue, 1 Aug 2017 20:26:41 -0400 Subject: [PATCH] Remove unnecessary code (#145) * remove unnecessary code * correct version number --- index.js | 2 -- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 3ab24cf..c803f78 100755 --- a/index.js +++ b/index.js @@ -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()); } } diff --git a/package-lock.json b/package-lock.json index 5d0aa12..03fd11a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "hydra", - "version": "1.4.8", + "version": "1.4.12", "lockfileVersion": 1, "dependencies": { "acorn": { diff --git a/package.json b/package.json index 316ea5a..a8b2867 100644 --- a/package.json +++ b/package.json @@ -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",