Skip to content

Commit c861c61

Browse files
committed
Fix resetting isHandleRequested
1 parent c7804f9 commit c861c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/examples/OPFSCoopSyncVFS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ export class OPFSCoopSyncVFS extends FacadeVFS {
437437
if (file.persistentFile.isHandleRequested) {
438438
// Another connection wants the access handle.
439439
this.#releaseAccessHandle(file);
440-
this.isHandleRequested = false;
440+
file.persistentFile.isHandleRequested = false;
441441
}
442442
file.persistentFile.isFileLocked = false;
443443
}

0 commit comments

Comments
 (0)