Sfoglia il codice sorgente

fix: FileSystemObserver latest API change

tophf 1 anno fa
parent
commit
6d31a7f761
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/confirm/views/app.vue

+ 1 - 1
src/confirm/views/app.vue

@@ -474,7 +474,7 @@ async function trackLocalFile() {
     await onFileChanged();
     stopResolve();
   }
-  if (fso) fso.unobserve(fileHandle);
+  if (fso) fso.disconnect();
   trackingPromise = tracking.value = false;
 }
 async function onFileChanged() {