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",