Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Consider the following scenario: - Tracing is started. - API call is made (e.g. page.waitForResponse), almost finishes, and enters onAfterCall where it starts a snapshot. - tracing.stopChunk is called, and waits for existing actions to finish. However, it does so by calling onAfterCall one more time. - tracing.stopChunk removes instrumentation listener and returns to the client. - Client starts zipping files. - Original API call finishes the snapshot and saves it to the trace file. This results in trace file being written to while the zip is still working.
- Loading branch information