From 24fffbda06276752e4e9f6d8da2b4210940bc01a Mon Sep 17 00:00:00 2001 From: yasanthaniroshan Date: Mon, 6 May 2024 23:24:10 +0530 Subject: [PATCH] Removed Sharedbuffer - Removed the sharedbuffer used in loader.js --- src/pyodide/loader.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pyodide/loader.js b/src/pyodide/loader.js index 5cf14a7..d00d73a 100644 --- a/src/pyodide/loader.js +++ b/src/pyodide/loader.js @@ -1,10 +1,8 @@ let terminal = document.getElementById('terminal-output'); -let interruptBuffer; let worker; function startWorker() { worker = new Worker(new URL('./worker.js', import.meta.url)) - interruptBuffer = new Uint8Array(new SharedArrayBuffer(1)); worker.onerror = function (event) { console.error('Worker error: ', event.message, event.filename, event.lineno); };