From 10ca7ee8d21118177ba7ec6edcc25eda6fe532e3 Mon Sep 17 00:00:00 2001 From: Beaudan Date: Tue, 5 Mar 2019 14:04:06 +1100 Subject: [PATCH] No longer removing listeners when closing local server --- libloki/modules/local_loki_server.js | 1 - 1 file changed, 1 deletion(-) diff --git a/libloki/modules/local_loki_server.js b/libloki/modules/local_loki_server.js index 4d18a25c3..2b72c84ac 100644 --- a/libloki/modules/local_loki_server.js +++ b/libloki/modules/local_loki_server.js @@ -88,7 +88,6 @@ class LocalLokiServer extends EventEmitter { // Async wrapper for http server close close() { - this.removeAllListeners(); if (this.server) { return new Promise(res => { this.server.close(() => res());