From 2c1207e957ea22e089d4c3175f126caeed6f9911 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Sun, 15 May 2016 21:18:51 -0700 Subject: [PATCH] fix(connection): don't destroy emitter on close --- src/flux/nylas-long-connection.es6 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/flux/nylas-long-connection.es6 b/src/flux/nylas-long-connection.es6 index 1ecce4e70..8e2c1edd9 100644 --- a/src/flux/nylas-long-connection.es6 +++ b/src/flux/nylas-long-connection.es6 @@ -182,7 +182,6 @@ export default class NylasLongConnection { } dispose(status) { - this._emitter.dispose() this._buffer = '' if (this._req) { this._req.end()