Fix Windows crash when trying to free asar fd
This commit is contained in:
parent
b9789ef191
commit
85449e953e
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ Archive::Archive(const base::FilePath& path)
|
||||||
|
|
||||||
Archive::~Archive() {
|
Archive::~Archive() {
|
||||||
#if defined(OS_WIN)
|
#if defined(OS_WIN)
|
||||||
|
file_.Close();
|
||||||
_close(fd_);
|
_close(fd_);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue