mirror of
https://github.com/electron/electron.git
synced 2026-01-24 06:48:15 -05:00
Merge pull request #4118 from Ivshti/patch-1
Ensure we close FD on Windows
This commit is contained in:
@@ -129,6 +129,9 @@ Archive::Archive(const base::FilePath& path)
|
||||
}
|
||||
|
||||
Archive::~Archive() {
|
||||
#if defined(OS_WIN)
|
||||
_close(fd_)
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Archive::Init() {
|
||||
|
||||
Reference in New Issue
Block a user