Merge pull request #4118 from Ivshti/patch-1

Ensure we close FD on Windows
This commit is contained in:
Cheng Zhao 2016-01-15 23:58:57 +08:00
commit 63278aeec2

View file

@ -129,6 +129,9 @@ Archive::Archive(const base::FilePath& path)
}
Archive::~Archive() {
#if defined(OS_WIN)
_close(fd_)
#endif
}
bool Archive::Init() {