Fixed a missing remove-event-listener in ProfilerStore
Brian Vaughn committed
May 22, 2019 at 10:52 UTC
eaaeb439b4d80e72892b897d900568f8cf77ca9c
1 file changed
+1
src/devtools/ProfilerStore.js
+1
@@ -284,6 +284,7 @@ export default class ProfilerStore extends EventEmitter {
284
285
onBridgeShutdown = () => {
286
this._bridge.removeListener('operations', this.onBridgeOperations);
287
+ this._bridge.removeListener('profilingData', this.onBridgeProfilingData);
288
this._bridge.removeListener('profilingStatus', this.onProfilingStatus);
289
this._bridge.removeListener('shutdown', this.onBridgeShutdown);
290
};