From eaaeb439b4d80e72892b897d900568f8cf77ca9c Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Wed, 22 May 2019 10:52:15 -0700 Subject: [PATCH] Fixed a missing remove-event-listener in ProfilerStore --- src/devtools/ProfilerStore.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devtools/ProfilerStore.js b/src/devtools/ProfilerStore.js index 0cf5b731f1..c59c073be4 100644 --- a/src/devtools/ProfilerStore.js +++ b/src/devtools/ProfilerStore.js @@ -284,6 +284,7 @@ export default class ProfilerStore extends EventEmitter { onBridgeShutdown = () => { this._bridge.removeListener('operations', this.onBridgeOperations); + this._bridge.removeListener('profilingData', this.onBridgeProfilingData); this._bridge.removeListener('profilingStatus', this.onProfilingStatus); this._bridge.removeListener('shutdown', this.onBridgeShutdown); };