Skip to content

MemberTile seems to have too many listeners #9003

Closed
@turt2live

Description

@turt2live
rageshake.js:61 (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
consoleObj.(anonymous function) @ rageshake.js:61
./node_modules/events/events.js.EventEmitter.addListener @ events.js:140
componentDidMount @ MemberTile.js:59
chainedFunction @ factory.js:667
(anonymous) @ ReactCompositeComponent.js:264
measureLifeCyclePerf @ ReactCompositeComponent.js:75
(anonymous) @ ReactCompositeComponent.js:263
notifyAll @ CallbackQueue.js:76
close @ ReactReconcileTransaction.js:80
closeAll @ Transaction.js:209
perform @ Transaction.js:156
perform @ Transaction.js:143
perform @ ReactUpdates.js:89
flushBatchedUpdates @ ReactUpdates.js:172
closeAll @ Transaction.js:209
perform @ Transaction.js:156
batchedUpdates @ ReactDefaultBatchingStrategy.js:62
enqueueUpdate @ ReactUpdates.js:200
enqueueUpdate @ ReactUpdateQueue.js:23
enqueueSetState @ ReactUpdateQueue.js:217
./node_modules/react/lib/ReactBaseClasses.js.ReactComponent.setState @ ReactBaseClasses.js:64
_callee$ @ MemberList.js:114
tryCatch @ runtime.js:64
invoke @ runtime.js:298
prototype.(anonymous function) @ runtime.js:116
tryCatcher @ bluebird.js:5278
PromiseSpawn._promiseFulfilled @ bluebird.js:2149
Promise._settlePromise @ bluebird.js:3361
Promise._settlePromise0 @ bluebird.js:3400
Promise._settlePromises @ bluebird.js:3481
(anonymous) @ bluebird.js:177
Promise.then (async)
schedule @ bluebird.js:4506
Async.settlePromises @ bluebird.js:176
Promise._fulfill @ bluebird.js:3427
Promise._settlePromise @ bluebird.js:3351
Promise._settlePromiseCtx @ bluebird.js:3391
(anonymous) @ bluebird.js:165
Promise.then (async)
schedule @ bluebird.js:4504
Async.invoke @ bluebird.js:164
Promise._then @ bluebird.js:3046
tryConvertToPromise @ bluebird.js:4870
Promise.cast @ bluebird.js:2980
_callee$ @ MemberList.js:100
tryCatch @ runtime.js:64
invoke @ runtime.js:298
prototype.(anonymous function) @ runtime.js:116
tryCatcher @ bluebird.js:5278
PromiseSpawn._promiseFulfilled @ bluebird.js:2149
(anonymous) @ bluebird.js:2253
_showMembersAccordingToMembershipWithLL @ MemberList.js:100
MemberList_componentWillMount @ MemberList.js:51
(anonymous) @ ReactCompositeComponent.js:347
measureLifeCyclePerf @ ReactCompositeComponent.js:75
performInitialMount @ ReactCompositeComponent.js:346
mountComponent @ ReactCompositeComponent.js:256
mountComponent @ ReactReconciler.js:45
mountChildren @ ReactMultiChild.js:236
_createInitialChildren @ ReactDOMComponent.js:703
mountComponent @ ReactDOMComponent.js:522
mountComponent @ ReactReconciler.js:45
performInitialMount @ ReactCompositeComponent.js:370
mountComponent @ ReactCompositeComponent.js:256
mountComponent @ ReactReconciler.js:45
mountChildren @ ReactMultiChild.js:236
_createInitialChildren @ ReactDOMComponent.js:703
mountComponent @ ReactDOMComponent.js:522
mountComponent @ ReactReconciler.js:45
performInitialMount @ ReactCompositeComponent.js:370
mountComponent @ ReactCompositeComponent.js:256
mountComponent @ ReactReconciler.js:45
mountChildren @ ReactMultiChild.js:236
_createInitialChildren @ ReactDOMComponent.js:703
mountComponent @ ReactDOMComponent.js:522
mountComponent @ ReactReconciler.js:45
performInitialMount @ ReactCompositeComponent.js:370
mountComponent @ ReactCompositeComponent.js:256
mountComponent @ ReactReconciler.js:45
updateChildren @ ReactChildReconciler.js:121
_reconcilerUpdateChildren @ ReactMultiChild.js:206
_updateChildren @ ReactMultiChild.js:310
updateChildren @ ReactMultiChild.js:296
_updateDOMChildren @ ReactDOMComponent.js:946
updateComponent @ ReactDOMComponent.js:760
receiveComponent @ ReactDOMComponent.js:721
receiveComponent @ ReactReconciler.js:124
_updateRenderedComponent @ ReactCompositeComponent.js:753
_performComponentUpdate @ ReactCompositeComponent.js:723
updateComponent @ ReactCompositeComponent.js:644
receiveComponent @ ReactCompositeComponent.js:545
receiveComponent @ ReactReconciler.js:124
updateChildren @ ReactChildReconciler.js:109
_reconcilerUpdateChildren @ ReactMultiChild.js:206
_updateChildren @ ReactMultiChild.js:310
updateChildren @ ReactMultiChild.js:296
_updateDOMChildren @ ReactDOMComponent.js:946
updateComponent @ ReactDOMComponent.js:760
receiveComponent @ ReactDOMComponent.js:721
receiveComponent @ ReactReconciler.js:124
_updateRenderedComponent @ ReactCompositeComponent.js:753
_performComponentUpdate @ ReactCompositeComponent.js:723
updateComponent @ ReactCompositeComponent.js:644
receiveComponent @ ReactCompositeComponent.js:545
receiveComponent @ ReactReconciler.js:124
_updateRenderedComponent @ ReactCompositeComponent.js:753
_performComponentUpdate @ ReactCompositeComponent.js:723
updateComponent @ ReactCompositeComponent.js:644
performUpdateIfNecessary @ ReactCompositeComponent.js:560
performUpdateIfNecessary @ ReactReconciler.js:156
runBatchedUpdates @ ReactUpdates.js:150
perform @ Transaction.js:143
perform @ Transaction.js:143
perform @ ReactUpdates.js:89
flushBatchedUpdates @ ReactUpdates.js:172
closeAll @ Transaction.js:209
perform @ Transaction.js:156
batchedUpdates @ ReactDefaultBatchingStrategy.js:62
enqueueUpdate @ ReactUpdates.js:200
enqueueUpdate @ ReactUpdateQueue.js:23
enqueueSetState @ ReactUpdateQueue.js:217
./node_modules/react/lib/ReactBaseClasses.js.ReactComponent.setState @ ReactBaseClasses.js:64
(anonymous) @ MatrixChat.js:100
tryCatcher @ bluebird.js:5278
Promise._settlePromiseFromHandler @ bluebird.js:3299
Promise._settlePromise @ bluebird.js:3356
Promise._settlePromiseCtx @ bluebird.js:3392
(anonymous) @ bluebird.js:167
Promise.then (async)
schedule @ bluebird.js:4506
Async.invoke @ bluebird.js:166
Promise._then @ bluebird.js:3048
Promise.done @ bluebird.js:2917
_viewRoom @ MatrixChat.js:864
onAction @ MatrixChat.js:576
_invokeCallback @ Dispatcher.js:200
dispatch @ Dispatcher.js:176
setTimeout (async)
dispatch @ dispatcher.js:52
onRoomTileClick @ RoomSubList.js:127
onClick @ RoomTile.js:35
boundFunc @ ReactErrorUtils.js:65
./node_modules/react-dom/lib/ReactErrorUtils.js.ReactErrorUtils.invokeGuardedCallback @ ReactErrorUtils.js:71
executeDispatch @ EventPluginUtils.js:85
executeDispatchesInOrder @ EventPluginUtils.js:108
executeDispatchesAndRelease @ EventPluginHub.js:43
executeDispatchesAndReleaseTopLevel @ EventPluginHub.js:53
forEachAccumulated @ forEachAccumulated.js:24
processEventQueue @ EventPluginHub.js:254
runEventQueueInBatch @ ReactEventEmitterMixin.js:16
handleTopLevel @ ReactEventEmitterMixin.js:27
handleTopLevelImpl @ ReactEventListener.js:72
perform @ Transaction.js:143
batchedUpdates @ ReactDefaultBatchingStrategy.js:62
batchedUpdates @ ReactUpdates.js:96
dispatchEvent @ ReactEventListener.js:147
13:48:59.298 events.js:146 console.trace

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions