Closed elmasse closed 4 years ago
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 feed listeners added. Use emitter.setMaxListeners() to increase limit at _addListener (http://localhost:8080/vendor.js:121030:15) at FeedStore.addListener (http://localhost:8080/vendor.js:121046:10) at Replicator._handshakeHandler (http://localhost:8080/wirelineio.js:11239:21) ProcessEmitWarning @ events.js:46 _addListener @ events.js:214 addListener @ events.js:222 _handshakeHandler @ replicator.js:110 async function (async) _handshakeHandler @ replicator.js:80 onHandshake @ extension.js:170 (anonymous) @ protocol.js:247 onceWrapper @ events.js:238 emit @ events.js:151 push.../../node_modules/hypercore-protocol/index.js.Protocol._onhandshake @ index.js:296 push.../../node_modules/hypercore-protocol/feed.js.Feed._onmessage @ feed.js:159 push.../../node_modules/hypercore-protocol/index.js.Protocol._onmessage @ index.js:350 push.../../node_modules/hypercore-protocol/index.js.Protocol._parseMessage @ index.js:399 push.../../node_modules/hypercore-protocol/index.js.Protocol._parse @ index.js:364 push.../../node_modules/hypercore-protocol/index.js.Protocol._write @ index.js:271 doWrite @ _stream_writable.js:428 writeOrBuffer @ _stream_writable.js:417 push.../../node_modules/readable-stream/lib/_stream_writable.js.Writable.write @ _stream_writable.js:334 ondata @ _stream_readable.js:619 emit @ events.js:146 push.../../node_modules/readable-stream/lib/_stream_readable.js.Readable.read @ _stream_readable.js:469 flow @ _stream_readable.js:813 resume_ @ _stream_readable.js:796 afterTickTwo @ index.js:28 push.../../node_modules/process/browser.js.Item.run @ browser.js:153 drainQueue @ browser.js:123 setTimeout (async) runTimeout @ browser.js:41 push.../../node_modules/process/browser.js.process.nextTick @ browser.js:143 nextTick @ index.js:27 maybeReadMore @ _stream_readable.js:517 addChunk @ _stream_readable.js:300 readableAddChunk @ _stream_readable.js:278 push.../../node_modules/readable-stream/lib/_stream_readable.js.Readable.push @ _stream_readable.js:245 push.../../node_modules/hypercore-protocol/index.js.Protocol.feed @ index.js:162 _initStream @ protocol.js:326 init @ protocol.js:269 stream @ swarm.js:85 (anonymous) @ index.js:318 emit @ events.js:146 (anonymous) @ index.js:880 (anonymous) @ index.js:698 Promise.then (async) push.../../node_modules/simple-peer/index.js.Peer.getStats @ index.js:693 findCandidatePair @ index.js:759 push.../../node_modules/simple-peer/index.js.Peer._maybeReady @ index.js:883 push.../../node_modules/simple-peer/index.js.Peer._onChannelOpen @ index.js:967 self._channel.onopen @ index.js:501
fixed with 14f6137a613b3cb4efc1e7f1c396a2e2484c15b3