mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fixed a missing remove-event-listener in ProfilerStore
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user