Merge pull request #1899 from kirkouimet/guard-for-in-loop
Guarding against polluted Object.prototypes
This commit is contained in:
commit
1ae8bed96a
1 changed files with 1 additions and 1 deletions
|
@ -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) ->
|
||||
|
|
Loading…
Add table
Reference in a new issue