export const createDisposableWorker = response => {
  const URL = window.URL || window.webkitURL
  const blob = new Blob([response], { type: 'application/javascript' }) // eslint-disable-line
  const worker = new Worker(URL.createObjectURL(blob)) // eslint-disable-line
  worker.post = message =>
    new Promise((resolve, reject) => {
      worker.onmessage = event => {
        URL.revokeObjectURL(blob)
        resolve(event.data)
      }
      worker.onerror = e => {
        console.error(`Error: Line ${e.lineno} in ${e.filename}: ${e.message}`)
        reject(e)
      }
      worker.postMessage({ message })
    })
  return worker
}

@@ -197,28 +197,20 @@
 nst 
-worker = new Worker(
+objectURL = 
 URL.
@@ -230,16 +230,54 @@
 RL(blob)
+%0A  const worker = new Worker(objectURL
 ) // esl
@@ -419,28 +419,33 @@
 keObjectURL(
-bl
 ob
+jectURL
 )%0A        re

Fix object URL not being revoked at when the worker is not being used anymore