No longer removing listeners when closing local server

pull/242/head
Beaudan 6 years ago
parent a18625c076
commit 10ca7ee8d2

@ -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());

Loading…
Cancel
Save