Ensure we close FD on Windows
This commit is contained in:
parent
233e2d7288
commit
7586078d0a
1 changed files with 3 additions and 0 deletions
|
@ -129,6 +129,9 @@ Archive::Archive(const base::FilePath& path)
|
|||
}
|
||||
|
||||
Archive::~Archive() {
|
||||
#if defined(OS_WIN)
|
||||
_close(fd_)
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Archive::Init() {
|
||||
|
|
Loading…
Reference in a new issue