Skip to content

Commit cfef400

Browse files
committed
Update worker-channel.js
1 parent bb2519a commit cfef400

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

worker/worker-channel.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ async function setupWorkerChannel() {
5959
workerInstallPromise = pingWorkerForClientId();
6060

6161
workerClientId = await workerInstallPromise;
62-
63-
if (workerClientId) console.debug('[Client] Found client ID:', workerClientId);
64-
62+
6563
workerInstallPromise = null;
6664

6765

@@ -71,9 +69,7 @@ async function setupWorkerChannel() {
7169

7270
// add worker channel listener
7371
workerChannel.addEventListener('message', async (event) => {
74-
75-
console.debug('[Client] Message from worker', event);
76-
72+
7773
// if message is for current client
7874
if (event.data.toClient === workerClientId) {
7975

0 commit comments

Comments
 (0)