fix(process): gate sampling on initialized PTY root
This commit is contained in:
@@ -243,12 +243,13 @@ const startCaptureRuntime = async (options: {
|
||||
renderer,
|
||||
started,
|
||||
});
|
||||
const stopSampler = startProcessSampler(
|
||||
terminal.pid,
|
||||
const stopSampler = startProcessSampler({
|
||||
rootPid: terminal.pid,
|
||||
runId: options.runId,
|
||||
started,
|
||||
scenario.limits.processes,
|
||||
options.samples,
|
||||
);
|
||||
limit: scenario.limits.processes,
|
||||
samples: options.samples,
|
||||
});
|
||||
return {
|
||||
replay,
|
||||
renderer,
|
||||
|
||||
Reference in New Issue
Block a user