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() {
|
||||
#if defined(OS_WIN)
|
||||
file_.Close();
|
||||
_close(fd_);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue