Skip to content

Commit 4bab494

Browse files
committed
Remove WorkerGlobalScope polyfill for Node
1 parent 1ea3b80 commit 4bab494

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/runtime_pthread.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ if (ENVIRONMENT_IS_PTHREAD) {
3131

3232
Object.assign(globalThis, {
3333
self: global,
34-
// The presence of this global is used to detect
35-
// that we are running on a Worker.
36-
WorkerGlobalScope: global,
3734
postMessage: (msg) => parentPort.postMessage(msg),
3835
});
3936
}

0 commit comments

Comments
 (0)