Fixed a missing remove-event-listener in ProfilerStore

This commit is contained in:
Brian Vaughn
2019-05-22 10:52:15 -07:00
parent b556f7444d
commit eaaeb439b4
+1
View File
@@ -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);
};