fix(tracing): invalidate non-stalling evaluates on crash (#14392)

This commit is contained in:
Pavel Feldman 2022-05-24 14:02:32 -07:00 committed by GitHub
parent d97c9bd5b6
commit 2fab2c1ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,8 +107,10 @@ export class FrameManager {
}
dispose() {
for (const frame of this._frames.values())
for (const frame of this._frames.values()) {
frame._stopNetworkIdleTimer();
frame._invalidateNonStallingEvaluations('Target crashed');
}
}
mainFrame(): Frame {