diff --git a/ui/packages/shared/profile/src/utils.ts b/ui/packages/shared/profile/src/utils.ts index ac2e74d9452..8226ba0f836 100644 --- a/ui/packages/shared/profile/src/utils.ts +++ b/ui/packages/shared/profile/src/utils.ts @@ -40,7 +40,8 @@ export const downloadPprof = async ( }` ); } - const blob = new Blob([response.report.pprof], {type: 'application/octet-stream'}); + const blob = new Blob([response.report.pprof.slice()], {type: 'application/octet-stream'}); + return blob; };