mirror of
https://github.com/electron/electron.git
synced 2026-01-23 22:38:18 -05:00
Fix Windows crash when trying to free asar fd
This commit is contained in:
@@ -130,6 +130,7 @@ Archive::Archive(const base::FilePath& path)
|
||||
|
||||
Archive::~Archive() {
|
||||
#if defined(OS_WIN)
|
||||
file_.Close();
|
||||
_close(fd_);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user