Skip to content

Commit fd17516

Browse files
committed
fix[react-devtools]: removed redundant startProfiling call
1 parent 830e823 commit fd17516

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • packages/react-devtools-shared/src/backend

packages/react-devtools-shared/src/backend/agent.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -714,10 +714,6 @@ export default class Agent extends EventEmitter<{
714714
) {
715715
this._rendererInterfaces[rendererID] = rendererInterface;
716716

717-
if (this._isProfiling) {
718-
rendererInterface.startProfiling(this._recordChangeDescriptions);
719-
}
720-
721717
rendererInterface.setTraceUpdatesEnabled(this._traceUpdatesEnabled);
722718

723719
// When the renderer is attached, we need to tell it whether

0 commit comments

Comments
 (0)