diff --git a/front_end/source_frame/SourceFrame.js b/front_end/source_frame/SourceFrame.js index c844d47cbf..ffc5a5fbee 100644 --- a/front_end/source_frame/SourceFrame.js +++ b/front_end/source_frame/SourceFrame.js @@ -330,8 +330,8 @@ export class SourceFrameImpl extends UI.View.SimpleView { worker.onerror = reject; }); worker.postMessage({method: 'disassemble', params: {content}}); - const {source, offsets, functionBodyOffsets} = await promise; + worker.terminate(); this._rawContent = source; this._wasmDisassembly = new Common.WasmDisassembly.WasmDisassembly(offsets, functionBodyOffsets); }