Revert "An attempt to fix killed web worker on iOS"
This reverts commit deaba7e67d9bf6887aec4db99ca9cec411fb56b3.
This commit is contained in:
parent
cd172ebea7
commit
799916b01c
@ -31,10 +31,6 @@ export function initApi(onUpdate: OnApiUpdate, initialArgs: ApiInitialArgs) {
|
||||
}
|
||||
|
||||
worker = new Worker(new URL('./worker.ts', import.meta.url));
|
||||
|
||||
// Crazy fix for iOS https://www.youtube.com/watch?v=ViyTYEv9dM8&t=478s
|
||||
(window as any)._workerlol = worker;
|
||||
|
||||
subscribeToWorker(onUpdate);
|
||||
|
||||
if (initialArgs.platform === 'iOS') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user