zip: remove memory pressure from keeping zip in memory

This commit is contained in:
Koushik Dutta
2022-01-06 17:22:12 -08:00
parent 5221215bc3
commit a1034f0828
9 changed files with 71 additions and 31 deletions

View File

@@ -161,6 +161,7 @@ class PluginRemote:
f = open(zipPath, 'wb')
f.write(zipData)
f.close()
zipData = None
zip = zipfile.ZipFile(zipPath)