From 75448ad7ed989a28bdd0ad87a90a25f6b92ce83c Mon Sep 17 00:00:00 2001 From: Kirk Ouimet Date: Sun, 7 Jun 2015 23:59:49 -0700 Subject: [PATCH] Guarding against polluted Object.prototypes --- atom/common/lib/asar.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/common/lib/asar.coffee b/atom/common/lib/asar.coffee index f70d2c45..a17ac729 100644 --- a/atom/common/lib/asar.coffee +++ b/atom/common/lib/asar.coffee @@ -14,7 +14,7 @@ getOrCreateArchive = (p) -> # Clean cache on quit. process.on 'exit', -> - archive.destroy() for p, archive of cachedArchives + archive.destroy() for own p, archive of cachedArchives # Separate asar package's path from full path. splitPath = (p) -> -- 2.43.0