Closed
Bug 290840
Opened 20 years ago
Closed 20 years ago
file enumerator should close directory after enumerating last file.
Categories
(Core :: XPCOM, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 291177
People
(Reporter: darin.moz, Assigned: darin.moz)
Details
file enumerator should close directory after enumerating last file. if you are writing JS code to enumerate a directory and wish to delete the directory after enumerating it, you cannot do so (on Windows at least) until the directory enumerator object is destroyed. the problem is that nsDirEnumerator does not close the directory until it is destroyed. JS code must therefore jump through hoops to ensure that garbage collection runs before it tries to delete the directory.
Comment 1•20 years ago
|
||
duplicate of bug 239804?
| Assignee | ||
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 291177 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
you're of course wrong or confused or missummarizing (see original bug by glazman where he eventually admits that enumerating to the end really will close it).
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•