Content store: Fix storage leak by storing screenshots in cache (#8137)
This commit is contained in:
parent
f1675a10d3
commit
fb70e83b24
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in New Issue