Skip to content

Commit

Permalink
Merge pull request #19 from yasanthaniroshan/server-with-node
Browse files Browse the repository at this point in the history
Removed Sharedbuffer
  • Loading branch information
yasanthaniroshan authored May 6, 2024
2 parents e802c0a + 24fffbd commit 9875604
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pyodide/loader.js
Original file line number Diff line number Diff line change
@@ -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);
};
Expand Down

0 comments on commit 9875604

Please sign in to comment.