We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e581ab5 commit 07aa3a8Copy full SHA for 07aa3a8
public/chat/pyodide-worker.js
@@ -265,7 +265,7 @@ self.onmessage = async (event) => {
265
const { mountPoint, dirHandle } = event.data.mount
266
if(mountedFs[mountPoint]){
267
console.log("Unmounting native FS:", mountPoint)
268
- await self.pyodide.umountNativeFS(mountPoint)
+ await self.pyodide.FS.unmount(mountPoint)
269
delete mountedFs[mountPoint]
270
}
271
const nativefs = await self.pyodide.mountNativeFS(mountPoint, dirHandle)
0 commit comments