fix(connection): don't destroy emitter on close

This commit is contained in:
Evan Morikawa 2016-05-15 21:18:51 -07:00
parent c0275d3c93
commit 2c1207e957

View file

@ -182,7 +182,6 @@ export default class NylasLongConnection {
}
dispose(status) {
this._emitter.dispose()
this._buffer = ''
if (this._req) {
this._req.end()