mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Content store: Fix storage leak by storing screenshots in cache (#8137)
This commit is contained in:
parent
944e9f5acb
commit
572ba83b30
4 changed files with 15 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue