Content store: Fix storage leak by storing screenshots in cache (#8137)

This commit is contained in:
rubenwardy 2019-01-31 16:35:55 +00:00 committed by Nils Dagsson Moskopp
parent f1675a10d3
commit fb70e83b24
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ local store = {}
local package_dialog = {}
-- Screenshot
local screenshot_dir = os.tempfolder()
local screenshot_dir = core.get_cache_path() .. DIR_DELIM .. "cdb"
assert(core.create_dir(screenshot_dir))
local screenshot_downloading = {}
local screenshot_downloaded = {}