Merge pull request #4118 from Ivshti/patch-1
Ensure we close FD on Windows
This commit is contained in:
commit
63278aeec2
1 changed files with 3 additions and 0 deletions
|
@ -129,6 +129,9 @@ Archive::Archive(const base::FilePath& path)
|
||||||
}
|
}
|
||||||
|
|
||||||
Archive::~Archive() {
|
Archive::~Archive() {
|
||||||
|
#if defined(OS_WIN)
|
||||||
|
_close(fd_)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Archive::Init() {
|
bool Archive::Init() {
|
||||||
|
|
Loading…
Reference in a new issue