mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
chore: don't explicitly destroy asar archives (#15734)
This commit is contained in:
@@ -37,14 +37,6 @@
|
||||
return newArchive
|
||||
}
|
||||
|
||||
// Clean cache on quit.
|
||||
process.on('exit', () => {
|
||||
for (const archive of cachedArchives.values()) {
|
||||
archive.destroy()
|
||||
}
|
||||
cachedArchives.clear()
|
||||
})
|
||||
|
||||
const ASAR_EXTENSION = '.asar'
|
||||
|
||||
// Separate asar package's path from full path.
|
||||
|
||||
Reference in New Issue
Block a user