From 85449e953efb638154da4bcc547fcc32eb8b56cd Mon Sep 17 00:00:00 2001 From: Eran Tiktin Date: Sat, 16 Jan 2016 03:48:07 +0200 Subject: [PATCH] Fix Windows crash when trying to free asar fd --- atom/common/asar/archive.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/atom/common/asar/archive.cc b/atom/common/asar/archive.cc index 1e986719ac..d6abf1cee8 100644 --- a/atom/common/asar/archive.cc +++ b/atom/common/asar/archive.cc @@ -130,6 +130,7 @@ Archive::Archive(const base::FilePath& path) Archive::~Archive() { #if defined(OS_WIN) + file_.Close(); _close(fd_); #endif }