mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 18:35:20 +02:00
Content store: Fix storage leak by storing screenshots in cache (#8137)
This commit is contained in:
@@ -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 = {}
|
||||
|
Reference in New Issue
Block a user