From e7349bf75ecccb700a1f1ddd833f1e1207448d41 Mon Sep 17 00:00:00 2001 From: wvffle Date: Sat, 29 Oct 2022 17:29:15 +0000 Subject: [PATCH] Remove unused webworker module --- front/src/composables/audio/queue.ts | 4 --- front/src/init/worker.ts | 6 ---- front/src/main.ts | 1 - front/src/worker/communication.ts | 53 ---------------------------- front/src/worker/modules/queue.ts | 30 ---------------- front/src/worker/webworker.ts | 4 --- 6 files changed, 98 deletions(-) delete mode 100644 front/src/init/worker.ts delete mode 100644 front/src/worker/communication.ts delete mode 100644 front/src/worker/modules/queue.ts delete mode 100644 front/src/worker/webworker.ts diff --git a/front/src/composables/audio/queue.ts b/front/src/composables/audio/queue.ts index 3d9b092e5..f0d6e4f20 100644 --- a/front/src/composables/audio/queue.ts +++ b/front/src/composables/audio/queue.ts @@ -14,10 +14,6 @@ import { gettext } from '~/init/locale' import axios from 'axios' -// import useWebWorker from '~/composables/useWebWorker' - -// const { post, onMessageReceived } = useWebWorker('queue') - export interface QueueTrackSource { uuid: string mimetype: string diff --git a/front/src/init/worker.ts b/front/src/init/worker.ts deleted file mode 100644 index 363e8c43d..000000000 --- a/front/src/init/worker.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { registerMainThread } from '#/communication' - -import Worker from '~/worker/webworker?worker' - -export const worker = new Worker() -registerMainThread(worker) diff --git a/front/src/main.ts b/front/src/main.ts index c6f1991d3..d7ffdbb7d 100644 --- a/front/src/main.ts +++ b/front/src/main.ts @@ -51,4 +51,3 @@ Promise.all(modules).finally(() => { }) // TODO (wvffle): Rename filters from useSharedLabels to filters from backend -// TODO (wvffle): Migrate EmbedFrame.vue to